• Java Heap space

  • 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.
 #27844  by ivan.todorovic
 
Hi,

I get this error when scanning more then 10 pages(approx.). I tryed setting something like
JAVA_OPTS=\"-Xms256m -Xmx1024m -XX:MaxPermSize=256m\" in setenv.sh and I see that it extends memory but error is still there.

Any suggestions?
 #27849  by ivan.todorovic
 
When I change scanning options (lower it to 150 dpi bw) it can scann over 30 pages. But this probably isn't even close to solution...
 #27851  by ivan.todorovic
 
I increased Java Heap on client to 1024MB. Now I can scann about 20 pages. Problem is that scanned file size is 12 mb(for 20 pages), and RAM allocated by Java after scanning (while transfering scanned file to repository)is about 1GB.
After adding the file to repository, Java doesn't free its memory (it is still 1GB) taken
 #27861  by Sascha
 
Cao Ivane,

what version are you using?
 #27875  by jllort
 
Start from the begging, you're using applet for scanning and you get error. Well it's environment configuration from computer executing that can not be solved changing setenv.sh server parameteres.

I suggest connect openkm with webdav mounting openkm as unit disk, take a look here http://wiki.openkm.com/index.php/WebDAV_access

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.