Page 1 of 1

5.0.2 Fresh Install Problem

PostPosted:Tue Feb 22, 2011 1:49 pm
by is99
I'm trying to run 5.0.2 on Windows 2008 64bit server
Unziped everything to F:\ then run.bat -b 0.0.0.0 , can access from the client the main page as soon as I try to login get out of memory errors on the server:
Code: Select all
15:44:36,437 ERROR [[jsp]] Servlet.service() for servlet jsp threw exception
15:44:38,325 ERROR [CoyoteAdapter] An exception or error occurred in the container during the request processing
15:44:41,039 ERROR [Http11Processor] Error processing request
15:44:42,927 ERROR [Http11Protocol] Error reading request, ignored
java.lang.OutOfMemoryError: PermGen space
15:44:43,769 ERROR [[jsp]] Servlet.service() for servlet jsp threw exception
15:44:45,501 ERROR [CoyoteAdapter] An exception or error occurred in the container during the request processing
java.lang.OutOfMemoryError: PermGen space
15:45:00,961 ERROR [STDERR] Exception in thread "Timer-6"
15:45:00,961 ERROR [STDERR] java.lang.OutOfMemoryError: PermGen space
15:45:14,969 ERROR [STDERR] Exception in thread "Timer-7"
15:45:18,495 ERROR [Http11Protocol] Error reading request, ignored
java.lang.OutOfMemoryError: PermGen space
15:45:18,495 ERROR [STDERR] java.lang.OutOfMemoryError: PermGen space
15:45:18,495 ERROR [STDERR] Exception in thread "Timer-5"
15:45:18,495 ERROR [STDERR] java.lang.OutOfMemoryError: PermGen spac
e

Tried to increase "AVA_OPTS="-Xms128m -Xmx512m" this allowed me to logon but after the logon I still got errors both on the client side and on the server.

Any ideas ?

Re: 5.0.2 Fresh Install Problem

PostPosted:Wed Feb 23, 2011 8:02 pm
by jllort
Yes, it a problem with lower heap memory.

Try with
Code: Select all
JAVA_OPTS="-Xms256m -Xmx1024m -XX:PermSize=64m -XX:MaxPermSize=128m -Djava.awt.headless=true"

Re: 5.0.2 Fresh Install Problem

PostPosted:Thu Feb 24, 2011 9:28 am
by pavila
Also try with this setting to ensure a good memory and heap allocation:
Code: Select all
JAVA_OPTS="-Xms256m -Xmx2048m -XX:PermSize=128m -XX:MaxPermSize=256m"

Re: 5.0.2 Fresh Install Problem

PostPosted:Mon Apr 11, 2011 8:09 pm
by cakewipe
I am having the same issue but when I increase the memory allocation as stated it gets further and then hits the error again. I've increased it a few times and each time it has helped me get more use out of the application but eventually I hit this issue and then nothing works until I restart my server/computer. Is there some sort of memory leak?

Re: 5.0.2 Fresh Install Problem

PostPosted:Mon Apr 11, 2011 10:02 pm
by jllort
How much memory have on your server. Do you got more applications running there ?

Re: 5.0.2 Fresh Install Problem

PostPosted:Mon Apr 11, 2011 10:13 pm
by cakewipe
I am running with 4 GB of RAM on my machine and this application is the only one running on the JVM.
Please look at this post for more information. http://forum.openkm.com/viewtopic.php?f=3&t=4933