File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes BEA/Weblogic and the fly likes optimum heap size for weblogic 6.1 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » BEA/Weblogic
Bookmark "optimum heap size for weblogic 6.1" Watch "optimum heap size for weblogic 6.1" New topic

optimum heap size for weblogic 6.1

Peter Heng

Joined: Aug 12, 2003
Posts: 13
I have a weblogic 6.1 app server running with 1GB RAM on a windows server. Currently I have been using this option: -ms128m -mx512m. What is the optimum heap size to set?
Purushoth Thambu
Ranch Hand

Joined: May 24, 2003
Posts: 425
Here is no formula to calculate the optimal size without first hand information. However you can set both the -Xms and -Xmx to same size ie 512MB (BEA recommends this as the memory is allocated in single shot). You may have to enable GC log and analyze how frequently Full GC happens. This way you can find out if you need to increase the size of heap or not.
I agree. Here's the link:
subject: optimum heap size for weblogic 6.1
It's not a secret anymore!