1752679 Members
5929 Online
108789 Solutions
New Discussion

Java & Heapsize

 
Mikko Aalto
New Member

Java & Heapsize

We have a problem with java virtual machine 1.2.2 (outOfMemoryException) and we are increasing the maxheapsize to solve the problem.
The problem is that we do not know what is the default size of the heap?
1 REPLY 1
Mark Greene_1
Honored Contributor

Re: Java & Heapsize

the java tuning guide is here:

http://h21007.www2.hp.com/dspp/tech/tech_TechDocumentDetailPage_IDX/1,1701,1602,00.html

in the "tuning guidlines/tuning steps" link it show how to set the min and max heap sizes and how to measure free space after garbage collection. They do not, however, specifiy the defaults.

HTH
mark
the future will be a lot like now, only later