Forum LAMS for Tech-Heads - General Forum: Re: Re: Re: Re: Re: LAMS blank page issue


 
Search: 

7: Re: Re: Re: Re: Re: LAMS blank page issue
In response to 6 03/27/11 08:09 AM
[ Reply | Forward ]
Hi Lachlan,

I've just came across something that might be able to shed some light into the issue regarding blank pages.

Recently I've had a LAMS server that was experiencing some heavy usage and it ran out of memory.

Using JAVA_OPTS you can specifically assign the amount of RAM memory you want a java application to use.

In your run.conf file in your jboss-4.0.2/bin directory, you'll find a line that starts with JAVA_OPTS = "...."

Can you please paste this line here?

I believe you might have experience a similar issue, so if you increase the memory allocation to LAMS, that will prevent this from happening.

Thansk,

Ernie

Posted by Ernie Ghiglione

9: Re: Re: Re: Re: Re: Re: LAMS blank page issue
In response to 7 03/28/11 08:10 PM
[ Reply | Forward ]
JAVA_OPTS="-server -Xms128m -Xmx128m"

What should we set it to? Our server has 16gb of ram so we have plenty of spare.

Posted by Lachlan Hockings

12: Re: Re: Re: Re: Re: Re: Re: LAMS blank page issue
In response to 9 03/29/11 09:06 PM
[ Reply | Forward ]
> JAVA_OPTS="-server -Xms128m -Xmx128m"

Woow.. that's very very bad! LAMS would run out of memory very quickly. I'm almost certain this was the problem with blank pages now.

For production, I would suggest a minimum this:

JAVA_OPTS="-server -Xms256m -Xmx2048m -XX:MaxPermSize=256m"

After this, you won't have any problems even with 500 concurrent users.

Thanks,

Ernie

Posted by Ernie Ghiglione

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