• 5.0.2 Fresh Install Problem

  • Problems with installing OpenKM? No problemo, the solution is closer than you think.
Problems with installing OpenKM? No problemo, the solution is closer than you think.
Forum rules: Please, before asking something see the documentation wiki or use the search feature of the forum. And remember we don't have a crystal ball or mental readers, so if you post about an issue tell us which OpenKM are you using and also the browser and operating system version. For more info read How to Report Bugs Effectively.
 #9047  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 ?
 #9082  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"
 #9118  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"
 #10331  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?
 #10333  by jllort
 
How much memory have on your server. Do you got more applications running there ?

About Us

OpenKM is part of the management software. A management software is a program that facilitates the accomplishment of administrative tasks. OpenKM is a document management system that allows you to manage business content and workflow in a more efficient way. Document managers guarantee data protection by establishing information security for business content.