cancel
Showing results for 
Search instead for 
Did you mean: 

Alfresco as Windows Service - PermGen space

clynham
Champ in-the-making
Champ in-the-making
Hi,

I'm trying to congifure Alfresco to run as a Windows service.  I've set Tomcat 6 up as a service using the command:

service.bat install tomcat6 //US//Tomcat6 –JvmMs=128 –JvmMx=512 –JvmSs=96 ++JvmOptions "-XX:MaxPermSize=128m"

However when Tomcat/Alfresco start this appears in the Tomcat stdout log: java.lang.OutOfMemoryError: PermGen space

From the searches I've done on the forum it seems a lot of people are suggesting the PermGen space should be set at 128m but by the looks of it this is what this command is doing?  Can anyone help?

Thanks
3 REPLIES 3

ivan_plestina
Champ in-the-making
Champ in-the-making
Try 160m instead of 128m for PermSize.

clynham
Champ in-the-making
Champ in-the-making
It dies with the same error  Smiley Indifferent

zoao
Champ in-the-making
Champ in-the-making
I have the same problem.
But I read that you can need to start more services in addition to the tomcat and mysql, for example openoffice. So I chose to put the alfresco.bat as a service so it starts all as when we run the bat file:
  http://forums.alfresco.com/en/viewtopic.php?f=8&t=17108&p=64734&hilit=PermGen+space#p59100