aspose file tools*
The moose likes Websphere and the fly likes initial/maxmum java heap size Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Websphere
Bookmark "initial/maxmum java heap size" Watch "initial/maxmum java heap size" New topic
Author

initial/maxmum java heap size

david chan
Ranch Hand

Joined: Jun 10, 2002
Posts: 46
Hi,
I have an application deployed to websphere 4.0.5 AE two nodes cluster on AIX. And it sometimes crash with this mesg:
JSPG0059E: Unable to compile class for JSP The compiler has run out of memory.
My system admin guy set the initial/Maximum Java heap size as 64MB, Is this setting cause problem?
What's the best size?
If there is memory leak, How can I found out?
Thanks.
David
Taro Yamada
Ranch Hand

Joined: Aug 13, 2002
Posts: 34
Hello
First,please see below
http://www-1.ibm.com/support/docview.wss?uid=swg21066851

Next, suitable heap size is decided by the amount of a memory.
It is written to the site of IBM of Japan as follows.
in case of RAM < 1GB xMx=128MB,xMs=64MB
in case of 1GB <= RAM < 2GB xMx=256MB,xMS=128MB
in case of 2GB <= RAM xMx=512MB,xMs=256MB
Taro
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: initial/maxmum java heap size