Analysis Failed: Analysis ID "d5f494aa-3b43-4eee-91a7-c1e00d812018"

Attempting to scan my code in Github and am receiving this error message:

Last Analysis Failed. Analysis ID “d5f494aa-3b43-4eee-91a7-c1e00d812018”

Need help to understand what is causing this error.

the last time this ran was on March 22nd, 2025 around 11am ET

Kicked off a new “Automatic Analysis” at 11:01pm ET on March 22nd, 2025

Hi @imsconsulting-dm, welcome to the community!

This last analysis failed because the JavaScript analysis reached the internal maximum memory allowed for it.

Did something change on March 22nd on your project that could explain a sudden increase in the memory? Like adding a big amount of code or new libraries?

The analyzer hit the error while parsing what seems to be a very large file, /archibus/schema/ab-products/common/mobile/src/Common/lib/cordova/android/cordova.js:21, and applying the rule sonarjs/S1874.

You can try those things:

  • Make sure no third-party libraries are analyzed by configuring the sonar.exclusions or sonar.inclusions properties in sonarcloud.properties
  • Exclude that file from the analysis
  • Remove the rule sonarjs/S1874 from your quality profile.

Hope that helps,
Claire