Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / Virtual Machine / August 2008

Tip: Looking for answers? Try searching our database.

Why Increase PermSize and MaxPermSize Crashes VM?

Thread view: 
basis_consultant@hotmail.com - 08 Aug 2008 22:55 GMT
Hi,

Please tell me if I am posting to the wrong group..

We are running a SAP Portal/Oracle system in Win2003 on Sun JDK
1.4.2_17.
We have 2 servers, with the following JDK parameters:

-XX:MaxNewSize=160M
-XX:NewSize=160M
-XX:MaxPermSize=270M
-XX:PermSize=270M
-Xmx1024M
-Xms1024M

When MaxPermSize and PermSize are increased (Say, say, 280M from
270M),
the Java VM crashes as the SAP portal starts. (SAP successfully
starts with the parameters mentioned).

I am trying to increase MaxPermSize and PermSize as they seem to be a
bottleneck;
We sometimes get Java OutOfMemory errors, and the tenured size of heap
is
not at maximum, and PermSize is.

As a somewhat newbie to the details of the 1.4.2 JDK engine, my
question is as follows....

Why does increasing PermSize and MaxPermSize by 10MB crash the
Java VM? After all, my understanding is that the overall size of the
heap remains 1024MB, so why does giving PermSize and MaxPermSize a
greater part of it, crash the VM?

What could be done in this case? Increase PermSize and MaxPermSize by
10MB
and decrease the overall heap size?

Thanks,
DF
jlp - 17 Aug 2008 12:44 GMT
basis_consultant@hotmail.com a écrit :
> Hi,
>
[quoted text clipped - 36 lines]
> Thanks,
> DF
the PermSize memory is out of the te java heap sized by Xms and Xmx
parameters, perhaps you have raised the maximum RAM memory size of your
computer ( with the 2 servers)
Other point : have you set the -Xnoclassgc ? if yes the class where
never garbaged and stored in the PermGen memlory...


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.