cancel
Showing results for 
Search instead for 
Did you mean: 

Error: OutOfMemoryError: PermGen space

thomas91
Champ in-the-making
Champ in-the-making
Hello,

I'm using Alfresco lab 3.9 on Opensuse. At teh moment I'm using the Derby DB since I have problems configuring the db for postgresql.
From time to time I get the follwing error:

16:11:58,604 ERROR [org.alfresco.web.ui.common.Utils] A system error happened during the operation: PermGen space
java.lang.OutOfMemoryError: PermGen space

Another problem is that after shutting down Alfresco sometimes I got :
Port already in use: 50500;
Then I have to kill the process before I can restart Alfresco.

What's the reason for it?

Rgds
Thomas
1 REPLY 1

pmonks
Star Contributor
Star Contributor
For the PermGen space issue take a look at http://forums.alfresco.com/en/viewtopic.php?f=29&t=12961.

The second issue is caused by the JVM not shutting down correctly - if the shutdown script doesn't kill it properly (eg. it throws connection refused exceptions) killing it is ok, but use a "soft" kill (ie. "kill [pid]") rather than a "hard" kill (ie. "kill -9 [pid]").  Normally a soft kill is enough to get rid of it and there's less chance of repository corruption in that case too.

Cheers,
Peter