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...