Error: OutOfMemoryError: PermGen space
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-15-2008 05:10 AM
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
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
Labels:
- Labels:
-
Archive
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-16-2008 12:37 AM
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
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
