Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

jvm heap size

Status
Not open for further replies.

MrTom

Programmer
Mar 13, 2001
383
GB
i have a server that will be dedicated to running weblogic and the java application it is to manage. this is to be run on a sun box that has 2Gb of memory.
my question is about how to allow the jvm to use as much of the memory it can if it needs it.
to begin with i set a very large value "-ms1400m -mx1400m" but solaris keeps moving too much of this in to swap even when memory is available. docs also seem to suggest that this could really be bad if it decides to do garbage collection :)
memory is a nice resource to have but how can i use it safely with java and weblogic? i've read the bea docs but they seem to lack any depth.
some java docs suggest taking advantage of "intimate shared memory" in Solaris - has anyone used this?

thanks.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top