File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Websphere and the fly likes Maximun Heap Size in WAS 7.0 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Websphere
Bookmark "Maximun Heap Size in WAS 7.0" Watch "Maximun Heap Size in WAS 7.0" New topic

Maximun Heap Size in WAS 7.0

San Ran

Joined: Jul 23, 2011
Posts: 5

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
Deepak Pant
Ranch Hand

Joined: Feb 13, 2004
Posts: 446
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.

I agree. Here's the link:
subject: Maximun Heap Size in WAS 7.0
It's not a secret anymore!