Hi XWiki users,

I have encountered a problem where after running XWiki on my tomcat server for 
a week, i get an java.lang.OutOfMemoryError: PermGen space error. It appears 
that xwiki consumed all the java heap space. I believe the problem may be 
related to unreleased DB connections because, I noticed that everytime I try to 
shutdown tomcat, it hangs with xwiki deployed, also by running "ps aux" i see 
the postgresql connection processes belonging to xwiki still running. I tried 
deploying another application that uses hibernate + postgresql on the same 
tomcat running xwiki, and upon shutting down the server, all db connection 
processes from the other application gracefully terminate but not the ones from 
xwiki.

My question is does anyone ever had this problem before? If so what is the 
solution? 
Solutions that I have tried but did NOT work:
1- Increase java heap with -Xmx512m  
2- Reduce the maximum and minimum idle DB connections

My system specs:

OS: Linux ubuntu kernel 2.6.20
Java: 1.6.0_05-13
Xwiki: 1.4 (binary distribution)
Posgresql: 8.2.6
Total RAM: 1Gb


Any help will be very much appreciated.

Richard

_________________________________________________________________
Make every e-mail and IM count. Join the i’m Initiative from Microsoft.
http://im.live.com/Messenger/IM/Join/Default.aspx?source=EML_WL_ MakeCount
_______________________________________________
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users

Reply via email to