Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

Tags:

fortify

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 !!!

like image 973
Sudhirkumar Murkute Avatar asked Oct 24 '25 06:10

Sudhirkumar Murkute


2 Answers

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.

like image 115
xelco52 Avatar answered Oct 28 '25 05:10

xelco52


If the file contains Minified Javascript then Fortify SCA may never be able to parse it. Use the un-minified version of the file for the scan.

like image 22
LaJmOn Avatar answered Oct 28 '25 04:10

LaJmOn



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!