Page 1 of 1

Error when keeping Open KM Idle

PostPosted:Tue Oct 18, 2011 8:50 am
by raths
Hello all

I'm getting the below mentioned error when i use the open KM after a long time leaving the server idle .

Server error log :
Code: Select all
14:17:31,622 WARN  [SessionImpl] Unclosed session detected. The session was opened here:
14:17:37,903 ERROR [[FolderServlet]] Servlet.service() for servlet FolderServlet threw exception java.lang.OutOfMemoryError: PermGen space
14:17:39,246 ERROR [[FileUploadServlet]] Servlet.service() for servlet FileUploadServlet threw exception java.lang.OutOfMemoryError: PermGen space
My run.bat file is
Code: Select all
rem JVM memory allocation pool parameters. Modify as appropriate.
set JAVA_OPTS=%JAVA_OPTS% -Xms1024m -Xmx1024m

rem With Sun JVMs reduce the RMI GCs to once per hour
set JAVA_OPTS=%JAVA_OPTS% -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000
How to solve this problem? Usually when i get this error i force close the Jboss. And again clik on the run.bat file and start working . Could any help on this ?

Thanks
Rathnavel

Re: Error when keeping Open KM Idle

PostPosted:Thu Oct 20, 2011 9:39 pm
by jllort
That's a memory problem on the server change with it:
JAVA_OPTS="-Xms256m -Xmx1024m -XX:PermSize=64m -XX:MaxPermSize=128m -Djava.awt.headless=true"