Home » , , » How to increase memory allocated to the JVM

How to increase memory allocated to the JVM

Written By 1 on Thursday, May 3, 2012 | 5:46 AM


You can do this by changing catalina.sh (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

or 

--JvmMs 128 --JvmMx 256

0 Comment:

Post a Comment