File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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

initial/maxmum java heap size

david chan
Ranch Hand

Joined: Jun 10, 2002
Posts: 46
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?
Taro Yamada
Ranch Hand

Joined: Aug 13, 2002
Posts: 34
First,please see below

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
I agree. Here's the link:
subject: initial/maxmum java heap size
jQuery in Action, 3rd edition