Page 1 of 1

OutOfMemoryError: PermGen space

PostPosted:Tue Nov 15, 2011 8:58 pm
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

Re: OutOfMemoryError: PermGen space

PostPosted:Wed Nov 16, 2011 12:36 pm
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

Re: OutOfMemoryError: PermGen space

PostPosted:Wed Dec 07, 2011 10:31 pm
by xbosch
Thank you, Now it is working!
XB