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


 
Search: 

8: Re: Re: 64 bit server LAMS error - Trying with YAJSW
In response to 7 05/04/11 01:25 PM
[ Reply | Forward ]
this is a screeprint of the problem i have when the aplication becomes a blank page, I checked the java.exe proccess memory usage and it was more than 450,000 kb, leaving 20mb as free memory in the server ¿is that normal?

Posted by Juan Antonio López Martínez

Attachments:
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