Thursday, May 3, 2012

How to increase memory allocated to the JVM

You can do this by changing (in Linux/Unix) or installservice.bat (for Windows). Open the file and search for the line where the minimum and maximum heap size for the JVM are being assigned.

This line would look something like this:

JAVA_OPTS=-Xms128m -Xmx256m


--JvmMs 128 --JvmMx 256

Post a Comment