Skip to Main Content

Java HotSpot Virtual Machine

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

MaxPermSize, HP Java VM (HP-UX)

843811Nov 20 2003 — edited Jan 28 2004

I am using HP's JVM on HP-UX

I am observing an OutOfMemoryError. I believe that I can fix the
error by adjusting the MaxPermSize parameter. Thoughts?

http://www.hp.com/products1/unix/java/infolibrary/prog_guide/hotspot.html


-XX:MaxPermSize=<size>

Sets the maximum size of permanent generation (in bytes). Append the letter k or K to indicate kilobytes, or m or M to indicate megabytes. For example, -XX:MaxPermSize=32m specifies a value of 32 Mbytes for MaxPermSize (Note that in SDK 1.2.2, this option took an integer that specified a value in kbytes only).

Default: 64MB
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Feb 25 2004
Added on Nov 20 2003
5 comments
347 views