Peter Johnson wrote:Your are running out of permgen space, so setting -Xmx and -Xms will not help. You will need to set -XX:MaxPermSize=128M (or other suitable size)
True, set -XX:MaxPermSize=256M as a first statement in catalina.bat
This message was edited 1 time. Last update was at by Seetharaman Venkatasamy
fall down seven times, get up eight times-bodhidharman
Vinod Vinu
Ranch Hand
Joined: Aug 30, 2009
Posts: 217
posted
0
True, set -XX:MaxPermSize=256M as a first statement in catalina.bat
can please tell me where exactly this catalina.bat would be available ?
True, set -XX:MaxPermSize=256M as a first statement in catalina.bat
Thanks buddy i have got catalina.bat.
now please tell me one more thing that how much size can be given ?
like for e.g. - iam running 3GB of RAM. So can i provide 1024MB of that ?
does allocating more amount of memory would results in something bad or good ?
thank you
David Newton
Author
Rancher
Joined: Sep 29, 2008
Posts: 12612
posted
0
If you need 1G of PermGen space something is horribly, horribly wrong. The default (I think) is 64M; as suggested try 128M, or possibly 256M (that seems high to me, but you never know).
subject: Caused by: java.lang.OutOfMemoryError: PermGen space ......what kind of error is this?