On 07/01/2010 03:25 PM, Thomas Hoeschele wrote: > Thanks for the Quick answer, here is what I configured into cataline.sh of > the tomcat server > > JAVA_OPTS="-Djava.awt.headless=true -Dfile.encoding=UTF-8 > -server -Xms128m -Xmx512m > -XX:NewSize=256m -XX:MaxNewSize=256m -XX:PermSize=512m > -XX:MaxPermSize=1g -XX:+DisableExplicitGC" > > However, the Error was there before I tried to configure the JAVA_OPTS myself. > Just you know: I have basically no idea of tomcat configuration as most other > webapps did run on it so far.
If you do have other applications on the same Tomcat instance, then you should increase the value for -Xmx even more, since each application takes up its own resources. > > -------- Original-Nachricht -------- >> Datum: Thu, 01 Jul 2010 15:17:43 +0200 >> Von: Sergiu Dumitriu<[email protected]> >> An: XWiki Users<[email protected]> >> Betreff: Re: [xwiki-users] Xwiki 2.4 Milestone Page Import > >> On 07/01/2010 02:59 PM, Thomas Hoeschele wrote: >>> I know it should not cause a heap exception... Tried to modify JAVA_OPTS >> didn't help ... that's why I use the mailing list to ask for help... >>> Upload Works, I can select the Pages I want to import, but when I import >> I get this error message. >> >> How much memory does the JVM have? (the -Xmx parameter). You should give >> at least 512m for a decent experience, although for a real deployment on >> a server you should give more than 1g, depending on the target load. >> -- Sergiu Dumitriu http://purl.org/net/sergiu/ _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
