Hey Franz,
Once bootstrapped, a regular magnolia app is using very little
memory. The only memory increased I am seeing here is while doing
activation from the author instance to the public instance.
Otherwise, the latest magnolia are very memory effective.
256Mb is usually enough for both author/public instance.
However, give it some memory space, so it can survive a memory
consuming activation request. (I hope I can discuss that at the
Magnolia conference next month, it looks like the filtering done
while activating is using some memory, even though we are streaming
the data from the author to the public)
About the jars, I am convinced you can move most of the jar into the
shared/lib but do NOT move the magnolia ones, since they're using
some static shortcuts for initializing and loading modules.
Regards,
Nicolas,
On Sep 1, 2006, at 12:40 AM, Franz van Betteraey wrote:
Dear all,
I have some questions about memory usage improvment. We are hosting
2 magnolia-CMS-Web-Pages in one tomcat session. In fact, these are
4 (2 public and 2 author) web applications. It is recommended that
Tomcat has at least 256 megabyte memory available for the
bootstrapping process.
My question is: 256 MB for each application?
The tomcat wiki page recommends:
If you are loading many web applications which which have the same
jars in their WEB-INF/lib then consider moving the shared jars from
WEB-INF/lib into the tomcat shared directory ${catalina.home}/
shared/lib This will reduce the memory used by each web app, reduce
the size of your your war files, and increase start up time.
Is this also recommended for magnolia CMS when several magnolia
webapps are deployed in one tomcat?
Which are the top jar-candidates in the magnolia/WEB-INF/lib-
directory for this?
Thanks for any advice!
Franz
----
Im am using magnolia-2.1.5.jar with default repository settings.
______________________________________________________________________
XXL-Speicher, PC-Virenschutz, Spartarife & mehr: Nur im WEB.DE Club!
Jetzt gratis testen! http://freemail.web.de/home/landingpad/?mc=021130
----------------------------------------------------------------
for list details see
http://www.magnolia.info/en/magnolia/developer.html
----------------------------------------------------------------
----------------------------------------------------------------
for list details see
http://www.magnolia.info/en/magnolia/developer.html
----------------------------------------------------------------