Memory error during SonarScanner execution

The Automatic Analysis feature has 7G memory available to analyze a project. Is your project very large? If it’s not very large, then running out of memory could indicate a bug in our analyzer. Please let us know.

A possible workaround can be to exclude files from the analysis that are suspected to cause the analyzer to run out of memory. Let me know if you’re interested in this option and I’ll send you the list of files in a private thread.

Otherwise, for the time being, the Automatic Analysis service is not suitable for this project, as it doesn’t have enough memory for this analysis. In this case we recommend to try to scan your project using another CI tool.

1 Like