• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

initial/maxmum java heap size

 
Ranch Hand
Posts: 46
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 34
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
reply
    Bookmark Topic Watch Topic
  • New Topic