cancel
Showing results for 
Search instead for 
Did you mean: 

Java PermGen Error

athomas
Champ in-the-making
Champ in-the-making
I installed Alfresco 3.3 community edition, and I keep getting these java errors that say:

java.lang.OutOfMemoryError: PermGen space failure

Or, the URL request will just hang, and never come up. All the services are started (jexec, mysqld, etc) but nothing works.

I've looked on Google and a bunch of sites mention editing some java config file, but they never say where it is.

How do I get rid of this stupid error so I can use this?
1 REPLY 1

athomas
Champ in-the-making
Champ in-the-making
Well I found the line in alfresco.sh to edit, and I made it look like this:

export JAVA_OPTS='-Xms128m -Xmx1000m -server -XX:MaxPermSize=256m -XX:+CMSClassUnloadingEnabled -XX:+CMSPermGenSweepingEnabled'

Didn't fix it, the request for http://server:8080/alfresco just hangs. Nothing happens at all. Do I just do ./alf_start.sh or am I doing something wrong?