Increase JVM heap size in fortify .bat file
I am getting the JVM error when trying to increase JVM heap size in fortify .bat file. I am using windows server 2008 64 bit machine with 16 GB physical memory.
set MEMORY=-Xmx2000m -Xms600M -Xss24M
I am getting the following error, when trying to run modified .bat file.
Error occurred during initialization of VM
Could not reserve enough space for object heap
Could not create the Java Virtual Machine
Anyone advise me how to increase heap size of JVM?
Give it more memory, I do most of my scans on a laptop with 16GB memory and I dedicate 12GB to the heap. I don't like using environment variables so I typically do it in my POM or directly in the command. It seems to be moody and I end up testing both ways to make it run well.
If you're not doing this already, you might also ensure you are using: