PDA

View Full Version : what is the recommended heap size for Tomcat 5?


ows
06-07-2004, 08:16 AM
I am installing LPS DE Core 2.1.2 into Tomcat 5 on a 768MB Windows XP machine. What is the recommended JVM heap size for this configuration?

This is for development, so I want enough memory left over to run emacs and Firebird on the same machine.

bloch
06-07-2004, 08:21 AM
The recommended size depends on whether you are kranking or not.

- If not, -Xmx128m will do
- If you are, -Xmx384m (half your available phys mem), although you can probably get away with -Xmx300m or so depending on the size and complexity of the app you krank.

-Eric