Thursday, May 3, 2012
7:46 PM

How to increase memory allocated to the JVM


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 comments:

Post a Comment