com.fortify.sca.analyzer.a: There is not enough memory available to complete analysis

Sudhirkumar Murkute picture Sudhirkumar Murkute · Apr 26, 2013 · Viewed 11.4k times · Source

Getting below error with Fortify Audit Workbench aplication :

[error]: Unexpected exception while parsing *.js com.fortify.sca.analyzer.a: There is not enough memory available to complete analysis. For details on making more memory available, please consult the user manual.

Any solution please !!!

Answer

xelco52 picture xelco52 · Apr 30, 2013

Your translation step is running out of memory. You can pass the -Xmx flag to give the jvm more memory to complete the task. For example, to give 2G you could pass the -Xmx2G flag to the translation step. You might also want to ensure you're running in 64bit mode (if your OS and HW support it) by passing the -64 flag.

Ultimately, this (and more) is described in detail in the HP_Fortify_SCA_User_Guide_3.xx.pdf that ships with your product.