Roller requires lots of memory. It really exercises the classloader. I have over 800 MB of real memory. When I tried 4 full Roller contexts on Tomcat 5.5.25 plus my web application, I was running out of memory too.

I'd test more to confirm it, but I agree that 128 MB is a good minimum. I think 64MB might work, but maybe only for a little while, it might work until you start managing through the roller-ui.

If you can take a look with jconsole's memory tab.

Dave

On Feb 19, 2008, at 10:07 PM, Matt Raible wrote:

I would try to get at least 128MB. It might work with 64, but I
haven't tried it myself. I run my site with the following
CATALINA_OPTS:

-server -Xms256M -Xmx256M -Duser.timezone=America/Denver

Matt

On Feb 19, 2008 9:03 PM, Peiqiang Han <[EMAIL PROTECTED]> wrote:
Hi,

I wish to deploy roller with a ISP. The package is a private TOMCAT, but the java heap space is 32 M. There is an exception when the frontpage is configured. It seems the heap space is not sufficent. Could somebody please tell me what is the java heap size for running an average roller site ?

The exception is

type Exception report

message

description The server encountered an internal error () that prevented it from fulfilling this request.

exception

org.apache.tiles.TilesException: Error including path '/WEB-INF/ jsps/tiles/tiles-simplepage.jsp'. Java heap space org.apache.tiles.impl.BasicTilesContainer.render (BasicTilesContainer.java:425) org.apache.tiles.impl.BasicTilesContainer.render (BasicTilesContainer.java:368) org.apache.struts2.views.tiles.TilesResult.doExecute (TilesResult.java:104) org.apache.struts2.dispatcher.StrutsResultSupport.execute (StrutsResultSupport.java:178) com.opensymphony.xwork2.DefaultActionInvocation.executeResult (DefaultActionInvocation.java:348) com.opensymphony.xwork2.DefaultActionInvocation.invoke (DefaultActionInvocation.java:253) com.opensymphony.xwork2.interceptor.DefaultWorkflowInterceptor.doInte rcept(DefaultWorkflowInterceptor.java:221) com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept (MethodFilterInterceptor.java:86) com.opensymphony.xwork2.DefaultActionInvocation $2.doProfiling(DefaultActionInvocation.java:224) com.opensymphony.xwork2.DefaultActionInvocation $2.doProfiling(DefaultActionInvocation.java:223) com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile (UtilTimerStack.java:455) com.opensymphony.xwork2.DefaultActionInvocation.invoke (DefaultActionInvocation.java:221)
        com




--
http://raibledesigns.com


Reply via email to