I see a lot of discussion here on setting the JVM heap size, but I haven't seen
any guidelines on what are some reasonable values for various types of
applications. Since I've started running into some Java OutOfMemoryError's
lately, I've increased my heap sizes and perm generation size to:
-Xms128m -Xmx128m -XX:MaxPermSize=96m
This is with JBoss 3.2.5, Solaris 8, and Oracle 10g.
I've seen recommendations to make your min and max heap size the same (though I
can't say why). The default min and max are 2m and 64m, but lots of places say
that's not enough.
I see also that with Java 1.4.2 there are a number of other heap and GC
parameter settings (see http://java.sun.com/docs/hotspot/gc1.4.2/).
I see that the web-console shows some information about the current state:
JVM Environment
Free Memory: 82 MB
Max Memory: 126 MB
Total Memory: 126 MB
#Threads: 84
Question is whether there is any other useful information to be found in
jmx-console or elsewhere and what experiences have other folks had with various
JVM and other tuning parameters.
I know there are some rather dated tuning docs around. It'd be nice if we could
get those updated for JVM 1.4 and JBoss 3.2.x/4.x.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3861993#3861993
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3861993
-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user