JVM tuning is an ever-evolving process that changes with each version of Java. Even for development instances, you'll need to read through and apply the basic JVM tuning suggestions below.
Basic JVM Tuning
The default JVM settings are not adequate to run Sakai. At a minimum, you need to increase the overall heap size and the maximum size allowed for the permanent generation. This can be done as follows.
Mac/Linux: Create the file TOMCAT_HOME/bin/setenv.sh containing a line like the following:
Windows(PC): Create the file TOMCAT_HOME/bin/setenv.bat containing a line like the following:
Advanced JVM Tuning
For more information, please see: