If you are fine with 1gb for the heap size, I'd keep it at that. JAVA_OPTS="-Xms256m -Xmx1024M -XX:PermSize=128m -XX:MaxPermSize=256m"
* Xms256m says to allocate a minimum of 256mb of heap from the get go * Xms1024m allows the heap to grow to 1gb if needed * PermSize is the minimum to start of with * MaxPermSize is the maximum While there is no rule of thumb because it depends on the application the types of object that exist in the heap, I typically start with the PermSize being about 1/4 of the size of the heap. So for a heap of 512mb, a perm size of 128mb good and so forth. .Peter Alan Holden said the following on 08/31/2010 05:05 PM: > Thanks Peter, > > This was in my init.d/tomcat: > export JAVA_OPTS="-Xmx1024M -Xms256M - Xms256M -server" > > I've followed Nitai's advice and placed this line in a new > tomcat/bin/setenv.sh file: > export JAVA_OPTS="-Xms256m -Xmx512m -XX:MaxPermSize=128m" > > How would you suggest I resolve his suggestion against yours? > > Al > > On 8/31/2010 1:38 PM, Peter J. Farrell wrote: >> What's your Tomcat JVM settings? In my catalina.sh file, I raised my >> perm gen higher: >> >> JAVA_OPTS="-Xms768M -XX:PermSize=128m -XX:MaxPermSize=256m" >> >> The min perm is 128mb and the max perm is 256mb. The total heap is >> set to 768mb. This runs two Adobe CF applications and one OpenBD >> application with a couple hundred MBs to spare. There's no magical >> number for perm gen, but let me know what your java opts are. I >> suspect they are too low. >> >> .pjf > -- > Open BlueDragon Public Mailing List > http://www.openbluedragon.org/ http://twitter.com/OpenBlueDragon > official manual: http://www.openbluedragon.org/manual/ > Ready2Run CFML http://www.openbluedragon.org/openbdjam/ > > mailing list - http://groups.google.com/group/openbd?hl=en -- Open BlueDragon Public Mailing List http://www.openbluedragon.org/ http://twitter.com/OpenBlueDragon official manual: http://www.openbluedragon.org/manual/ Ready2Run CFML http://www.openbluedragon.org/openbdjam/ mailing list - http://groups.google.com/group/openbd?hl=en
