Forum LAMS for Tech-Heads - General Forum: Re: Re: Re: 64 bit server LAMS error - Trying with YAJSW


 
Search: 

9: Re: Re: Re: 64 bit server LAMS error - Trying with YAJSW
In response to 8 05/04/11 01:45 PM
[ Reply | Forward ]
Hi Juan Antonio,

It seems that you have run out of permgem memory.

Open the run.bat file and see what settings you have for JAVA_OPTS.

Ideally, you want to have something like this:

set JAVA_OPTS=-server -Xms256m -Xmx1024m -XX:MaxPermSize=128m -XX:NewSize=128m -XX:MaxNewSize=128m -XX:SurvivorRatio=95 -XX:+CMSClassUnloadingEnabled -XX:+CMSPermGenSweepingEnabled

This will allocate a maximum of 1GB (-Xmx1024m) to LAMS and a max of 128MB as PermGem memory (-XX:MaxPermSize), which should be more than enough.

Thanks,

Ernie

Posted by Ernie Ghiglione

Reply to first post on this page
Back to LAMS for Tech-Heads - General Forum