File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
The Java EE 7 Tutorial Volume 1 or Volume 2
this week in the
jQuery UI in Action
Tomcat 7 heap config vs hardware
Joined: Sep 06, 2013
Sep 06, 2013 17:35:08
Is there a ratio or some formula for a initial heap configuration agaist the CPU / memory the JVM is going to run on?
Joined: Jun 25, 2001
Sep 09, 2013 04:37:32
Welcome to the JavaRanch, John!
I haven't checked recently, but last time I looked,
ran using default JVM memory settings. Which for the Sun JVM was 128MB. I recommend starting with 256MB in most cases, though.
The standard memory management rules are sufficient except for PermGen space, which may need to be overridden if you are working with ORM-based apps such as Hibernate.
Customer surveys are for companies who didn't pay proper attention to begin with.
I agree. Here's the link:
subject: Tomcat 7 heap config vs hardware
Tomcat and Optimizeit throwing Out of memory error
WA #1.....word association
static variables in multithreading
xsl - sorting multiple fields
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014