• 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 all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Liutauras Vilda
  • Paul Clapham
  • Bear Bibeault
  • Jeanne Boyarsky
  • Ron McLeod
  • Tim Cooke
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Jj Roberts
  • Stephan van Hulst
  • Carey Brown
  • salvin francis
  • Scott Selikoff
  • fred rosenberger

Maximun Heap Size in WAS 7.0

Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

I would like to know what is the Maximum heap size I can set for a JVM in WAS?
I appreciate you response.

San Ran
Ranch Hand
Posts: 446
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The maximum heap size allocation to any JVM is dependent on several parameters like:
1. Operating System
2. Processor Bit Size (16, 32, 64 etc)
3. Physical & Virtual Memory configured on the server.
4. Bit size of the JVM (32 bit JVM vs 64 bit JVM).
5. # of JVM processes running on the server.

Generally it is not advisable to throw large chunk of memory at the JVM as some folks try to solve software problems by throwing hardware at it.

I would suggest you start with a low number like 512m or 1024m and then try to increase in chunks of 1024M.

As a simple answer you can throw big number like 2g or 4b on 32 bit machines. JVM may reject the heap size giving some logical error.

Hope this helps.

After some pecan pie, you might want to cleanse your palatte with this tiny ad:
Thread Boost feature
    Bookmark Topic Watch Topic
  • New Topic