• OutOfMemoryError: PermGen space

  • 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.
 #12918  by xbosch
 
Hi all,

First of all I would like to thank OpenKm team for this amazing software.

I've installed OpenKM in two machines, one with OS Ubuntu 10.04 and other with Windows 7 amd64. The OpenKM software runnning on Ubuntu works perfect! But, I've a problem with the one that I've installed on Windows7.

Despite I had no problem installing it, usually it runs smooth since I get this error in the cmd and the server froze:
Code: Select all
java.lang.OutOfMemoryError: PermGen space
I'm using Java 1.6., I've also tried with Jave 1.7 with the same results.
Do you have any clue about what is going on? What I'm doing wrong?

Thank you, I appreciate your answer :D

XB
 #12932  by jllort
 
Use java JDK 1.6

As you can see you've got a memory problem, in your run.bat at jvm parameters add -XX:PermSize=64m -XX:MaxPermSize=128m -Djava.awt.headless=true

Take a look how is setting in run.sh

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.