• java memory usage

  • OpenKM has many interesting features, but requires some configuration process to show its full potential.
OpenKM has many interesting features, but requires some configuration process to show its full potential.
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.
 #39656  by gwaitsi
 
I have an OMV NAS running OpenKM with 4GB memory.

the command below is showing up as using 35% of my memory and 3% CPU in the process list - all the time
/usr/lib/jvm/java-7-openjdk-amd64/bin/java -Dnop -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Xms256m -Xmx1256m -XX:PermSize=256m -XX:MaxPermSize=512m /Djava.awt.........

Is this correct, or does something seem wrong that it is using so much memory?
I am basically using as a single user document system.

gracias
 #39670  by jllort
 
When you start tomcat, automatically are reserving the memory for its process, if you set 2GB automatically should reserve this amount of memory. Application by default consume between 1,2 - 1,5 GB depending of OpenKM version. Is normal you get it used after started application.
 #39676  by gwaitsi
 
Hi jilort,

ok thanks. so memory usage is consistent with what you said.

but i am also seeing 25-30% CPU utilisation from the same java line, even when the application is idle with no users.
MySQL is showing only 0.4% utilisation in ideal but has not only openkm.

any ideas please?
 #39689  by jllort
 
Take in mind that this application is working in background, not only while users are logged. There are batch processes, for example indexing and others, specially when you start application are several process that are immediately load and take some time to be finished, etc. OpenKM is not the typical web page, is something more like a service up on your server what obviously does response by web, but also does something more. For example each 5 minutes are executed extraction queue, that can cause 100% usage on a single CPU, etc.

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.