Hello,
It may be something else (see error about AsyncHttpClient-Callback), but
basically it seems you JVM is missing memory. 800m may be a bit too small.
I know it's the recommendation for large installs, but in my case at least
I had to put more than that (about 1724m, but there's no "generic" number
of course).
Is your wiki very "big" ? (in terms of number of pages for example)
Also it seems a bit weird that "PermSize" is larger than "MaxPermSize"
in
you OPTS.
BR,
Jeremie
2014-03-17 15:25 GMT+01:00 Pascal BASTIEN <pbasnews-xwiki(a)yahoo.fr>fr>:
now my xwiki 5.4.2 crash with:
Exception in thread "http://iwiki.cp2i.i2/bin/admin/Menu/WebPreferences"
Exception: java.lang.OutOfMemoryError thrown from the
UncaughtExceptionHandler in thread "
http://iwiki.cp2i.i2/bin/admin/Menu/WebPreferences"
Exception in thread "AsyncHttpClient-Callback"
Exception: java.lang.OutOfMemoryError thrown from the
UncaughtExceptionHandler in thread "AsyncHttpClient-Callback"
2014-03-17 15:17:59,664 [
http://iwiki.cp2i.i2/bin/view/Main/WebHome]
WARN .o.i.DefaultObservationManager - The
[com.xpn.xwiki.store.XWikiCacheStore] listener has overwritten a previously
registered listener [com.xpn.xwiki.store.XWikiCacheStore] since they both
are registered under the same id [XWikiCacheStore]. In the future consider
removing a Listener first if you really want to register it again.
Exception in thread "http-bio-8080-exec-7"
Exception: java.lang.OutOfMemoryError thrown from the
UncaughtExceptionHandler in thread "http-bio-8080-exec-7"
Exception in thread "ajp-bio-8009-exec-19"
Exception: java.lang.OutOfMemoryError thrown from the
UncaughtExceptionHandler in thread "ajp-bio-8009-exec-19"
Exception in thread "http-bio-8080-exec-3"
Exception: java.lang.OutOfMemoryError thrown from the
UncaughtExceptionHandler in thread "http-bio-8080-exec-3"
Exception in thread "http-bio-8080-exec-16"
with:
JAVA_OPTS="-server -Xms800m -Xmx800m -XX:PermSize=256M
-XX:MaxPermSize=196m -Dfile.encoding=utf-8 -Djava.awt.headless=true
-XX:+UseParallelGC -XX:MaxGCPauseMillis=100
-Dhttp.proxyHost=beast.dom.cpii.i2 -Dhttp.proxyPort=8080"
Any ideas?
Thxs
________________________________
De : Valdis Vītoliņš <valdis.vitolins(a)odo.lv>
À : Pascal BASTIEN <pbasnews-xwiki(a)yahoo.fr>fr>; XWiki Users <users(a)xwiki.org
Envoyé le : Mercredi 12 mars 2014 10h46
Objet : Re: [xwiki-users] crash on tomcat 7.0.47 with xwiki 5.4.2
You need to increase permanent space (parameter -XX:MaxPermSize), which
is used for static objects, and which is never deallocated, e.g.
-XX:MaxPermSize=256m
Valdis
> Hello,
> With xwiki 5.4.1 I hadn't crash
of xwiki but with the last version 5.4.2
I have 2 crash per day...
> Log indicate : "java.lang.OutOfMemoryError: PermGen space"
> Here my catalina.sh
> JAVA_OPTS="-server -Xms800m
-Xmx800m -XX:PermSize=64M
-XX:MaxPermSize=196m -Dfile.encoding=utf-8 -Djava.awt.headless=true
-XX:+UseParallelGC -XX:MaxGCPauseMillis=100
-Dhttp.proxyHost=beast.dom.cpii.i2 -Dhttp.proxyPort=8080"
> and the log
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users