This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

initial/maxmum java heap size

 
david chan
Ranch Hand
Posts: 46
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 34
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic