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!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

JVM won't start with PermSize setting (JDK 1.6.0_03)

843829Apr 28 2008 — edited Apr 29 2008
JDK: 1.6.0_03
OS: Ubuntu 7.10 (feisty fawn)
Problem: Java won't startup with PermSize setting enabled

Help?!? :-{

I'm trying to startup up a large application using JDK 1.6.0_03 coming from JDK 1.5.x. I have a series of VM startup options that have worked in the past but now are failing to be recognized by the JVM. The options in particular that are giving me great pain are the permanent genration sizing options (-XX:PermSize and -XX:MaxPermSize). Whenever I specifiy either of these options in starting up my application the JVM dies on startup with the following message ....

Unrecognized VM option 'PermSize256m'
Could not create the Java virtual machine.

Unfortunately for me, this is a critical problem because my application performs a lot of dynamic classloading and needs a PermGen much larger than the default size dictated by the jvm. As far as I have been able to research, the permanent generation is still a concept used in the 1.6.x series of JDKs (can someone from Sun confirm or deny this?). Also, does anyone out there know of a setting to tell the jvm to grow the PermGen dyanmically? I would much rather have the jvm determine what the proper size for this generation should be and grow it when needed ... such as the "UseAdaptizeSizePolicy" option does for the eden and tenured generations ... once again unfortunately I don't this that option does anything for the Permanent generation though (anyone from Sun care to confirm or deny that one as well?).

- Frank ... with jvm dead on arrival.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 27 2008
Added on Apr 28 2008
2 comments
1,150 views