Just upgraded SCA to 16.10 from 4.4.2 and having issues getting the TFS build definition to successfully complete the scan phase. The clean and translate task successfully execute but the scan task seems to get stuck in time and the log has the following message:
"d:\Program Files\HP_Fortify\HP_Fortify_SCA_and_Apps_16.10\bin\sourceanalyzer.exe" -b myProject -Xmx36G -logfile "d:\TFS\Builds\Agent1\myProject\Solutions\Master\myProject.scan.log" -scan -format fpr -f myProject.fpr
[warning]: Scan progress is slowing due to JVM garbage collection, which may indicate low memory. For details on making more memory available, please consult the user manual.
[warning]: Scan progress is slow due to JVM garbage collection, which may indicate low memory. For details on making more memory available, please consult the user manual.
[error]: There is not enough memory available to complete analysis. For details on making more memory available, please consult the user manual.
Running the scan manually via the Visual Studio 2015 plugin also results in the scan task freezing at 24% during the "building analysis model" phase.
I’ve noticed that Fortify seems to ship its own jre (it’s located in fortify install base dir\jre\bin\). Looking at the release it appears to be for Windows 5.2, or XP. I wonder if this may have something to do with it, that Fortify is perhaps using an inappropriate and outdated release of the jre for the host system on which it resides.
I'd appreciate any help or insight anyone can provide.
I'm facing the same memory issue, I have HP_Fortify_SCA_and_Apps_4.31 software installed. Can I apply the 16.10 patch to this?
I have tried with 16.11 but scan process got stuck up, saying "building analysis model 24% [===== ]" , It took very long time.
Can anyone suggest?
Hi Venkatesh -
Let me know.
I am seeing this with 17.20 for one project I am scanning.
I updated the script to use 17.10 for the same scan and it is CRAWLING but not getting the out of memory error.
I am also noticing that a scan that used to take roughly 20mins is now taking 44mins on average.