[Logo] Enterprise Client Community
  [Search] Search   [Recent Topics] Recent Topics   [Members]  Member Listing   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
Reload Server creates OutOfMemoryError  XML
Forum Index -> Deployment
Author Message
mveser

Active

Joined: 19/05/2010 10:54:15
Messages: 9
Offline

Hallo,

this is just for information:

After several (>10) executions of "Reload Server" in layout editor Tomcat shows this error in log:
Java.lang.OutOfMemoryError: PermGen space

Only restart of Tomcat solves the problem.

I upgraded my Tomcat Installation fom 7.0.6 to recent version 7.0.19.
The OutOfMemoryError has never appeared again.

CaptainCasa

Power User
[Avatar]

Joined: 21/11/2007 12:23:06
Messages: 5526
Offline

Hi,

the PermGen is the memory in which the classes are loaded. WIth each "reload" your whole web application is reloaded, so new classes are loaded. The permgen has a certain size, if this is full with loaded classes you get the error above.

Ways out:
(.) increase the permgen size (Java VM parameter)
(.) use CaptainCasa Hot Deployment (which we anyway recommend!), then the amount of re-loaded classes is much smaller

Regards, Björn

Björn Müller, CaptainCasa GmbH
 
Forum Index -> Deployment
Go to:   
Powered by JForum 2.1.6 © JForum Team