Page 1 of 1

the administrator tab does not show content

PostPosted:Fri Nov 26, 2010 12:59 pm
by Rik van der Vaart
I installed OpenKM on my new computer and everything works. Expect when I click on the administrator tab, the tab content stays grey. In the command window I see the statement "java.lang.OutOfMemoryError: PermGen Space"...

How to I proceed?

Windows 7
OpenKM 5.0 rc5.1

I had this installed exactly the same with following cfg file:
Code: Select all
# Default configuration values
#repository.config=repository.xml
#repository.home=repository
#system.user=system
#default.admin.role=AdminRol
#principal.adapter=com.openkm.core.UsersRolesPrincipalAdapter
#max.file.size=5
#max.search.results=25
#system.demo=off
restrict.file.mime=off
restrict.file.extension=*~,*.bak,._*
#system.ocr=/usr/bin/tesseract
system.openoffice=C:/Program Files (x86)/OpenOffice.org 3
system.img2pdf=C:/Program Files/ImageMagick-6.6.5-Q16/convert.exe
system.pdf2swf=C:/SwfTools/pdf2swf.exe
schedule.mail.importer=1
#hibernate.dialect=org.hibernate.dialect.MySQL5Dialect
hibernate.dialect=org.hibernate.dialect.HSQLDialect
hibernate.hbm2ddl=none
#hibernate.hbm2ddl=create
application.url=http://localhost:8080/OpenKM/com.openkm.frontend.Main/index.jsp
max.file.size=060520010
#principal.adapter=com.openkm.principal.DatabasePrincipalAdapter
#notify.twitter.user=openkm
#notify.twitter.password=****
#subscription.message.body=Prueba.vm
wizard.property.groups=okg:consulting,okg:technology
wizard.keywords=on
wizard.categories=on
logo.login=C:/jboss-4.2.3.GA/my_login.gif
and openkm worked perfectly. The only difference I can see now is that this computer is 64bit.

Re: the administrator tab does not show content

PostPosted:Fri Nov 26, 2010 4:44 pm
by jllort
You've got a jboss memory problem. You must increment memory assigned to jboss ( at run.bat or run.sh ) take a look on jboss forum how increasing memory and jvm memory params you need use.

Re: the administrator tab does not show content

PostPosted:Fri Nov 26, 2010 8:44 pm
by Rik van der Vaart
I edited the following string in the run.bat file:
Code: Select all
set JAVA_OPTS=%JAVA_OPTS% -Xms512m -Xmx512m -XX:MaxPermSize=256m 
It worked perfectly.
Strange that with the 64 bit processor this was necessary...
Thank you.