at the moment setenv.bat contains the following statements:
OS = windows server 2008 R2, Virtual Machine, 64bit
RAM = 6GB
TaskManager is reporting
Physical Memory (MB)
Total 6143
Cached 2183
Available 4923
Free 2794
How can I increase OKM memory allocation?
Thanks
Code: Select all
launching configtest I get the following:set JAVA_OPTS=-Xms128m -Xmx1024m -XX:PermSize=128m -XX:MaxPermSize=256m -Djava.awt.headless=true -Dfile.encoding=utf-8
set JAVA_OPTS=%JAVA_OPTS% -XX:+UseConcMarkSweepGC -Dlog4j.configuration=file:///%CATALINA_HOME%/conf/log4j.properties
set PATH=%PATH%;%CATALINA_HOME%\lib\sigar
set JAVA_HOME=C:\openkm\java
Code: Select all
In order to increase memory allocation I have changed the first row as belowC:\openkm\tomcat\bin>catalina.bat configtest
Using CATALINA_BASE: "C:\openkm\tomcat"
Using CATALINA_HOME: "C:\openkm\tomcat"
Using CATALINA_TMPDIR: "C:\openkm\tomcat\temp"
Using JRE_HOME: "C:\openkm\java"
Using CLASSPATH: "C:\openkm\tomcat\bin\bootstrap.jar;C:\openkm\tomcat\bin\
tomcat-juli.jar"
2015-09-07 11:23:36,074 [ main] INFO org.apache.catalina.core.AprLifecycleListener - The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\openkm\java\bin;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\openkm\tomcat\lib\sigar;C:\openkm\tomcat\lib\sigar;.
2015-09-07 11:23:36,293 [ main] INFO org.apache.coyote.http11.Http11Protocol - Initializing ProtocolHandler ["http-bio-0.0.0.0-8080"]
2015-09-07 11:23:36,324 [ main] INFO org.apache.coyote.ajp.AjpProtocol - Initializing ProtocolHandler ["ajp-bio-8009"]
2015-09-07 11:23:36,324 [ main] INFO org.apache.catalina.startup.Catalina -Initialization processed in 461 ms
Code: Select all
then launching configtest I get the error belowset JAVA_OPTS=-Xms256m -Xmx2048m -XX:PermSize=256m -XX:MaxPermSize=512m
Code: Select all
OKM 6.2.5 Build 8109C:\openkm\tomcat\bin>catalina.bat configtest
Using CATALINA_BASE: "C:\openkm\tomcat"
Using CATALINA_HOME: "C:\openkm\tomcat"
Using CATALINA_TMPDIR: "C:\openkm\tomcat\temp"
Using JRE_HOME: ""C:\openkm\java""
Using CLASSPATH: "C:\openkm\tomcat\bin\bootstrap.jar;C:\openkm\tomcat\bin\tomcat-juli.jar"
Error occurred during initialization of VM
Could not reserve enough space for object heap
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
OS = windows server 2008 R2, Virtual Machine, 64bit
RAM = 6GB
TaskManager is reporting
Physical Memory (MB)
Total 6143
Cached 2183
Available 4923
Free 2794
How can I increase OKM memory allocation?
Thanks