Difference between revisions of "Tuning Memory Usage On Windows"

From LogicalDOC Community Wiki
Jump to navigationJump to search
(Created page with " Assuming '''<LDOC_HOME>''' the installation folder of LogicalDOC (eg: C:\LogicalDOC). Open a console with elevated privileges and execute these commands: <pre> cd C:\LogicalD...")
 
Line 1: Line 1:
  
 
Assuming '''<LDOC_HOME>''' the installation folder of LogicalDOC (eg: C:\LogicalDOC).
 
Assuming '''<LDOC_HOME>''' the installation folder of LogicalDOC (eg: C:\LogicalDOC).
Open a console with elevated privileges and execute these commands:
+
Open a console with elevated privileges (as Administrator) and execute these commands:
 
<pre>
 
<pre>
 
cd C:\LogicalDOC\tomcat\bin
 
cd C:\LogicalDOC\tomcat\bin
tomcat8w.exe //MS//LogicalDOC    (if you do not have tomcat8w.exe use LogicalDOCw.exe instead)
+
LogicalDOCw.exe //MS//LogicalDOC    (if you do not have tomcat8w.exe use LogicalDOCw.exe instead)
 
</pre>
 
</pre>
  
Line 16: Line 16:
 
In the field '''Maximum memory pool''' you can put the number of maximum memory to use for the
 
In the field '''Maximum memory pool''' you can put the number of maximum memory to use for the
 
heap (in the example 2000 MB).<br />
 
heap (in the example 2000 MB).<br />
 +
In production systems we recommend to put the minimum allocated memory equal to the maximum one<br />
 +
 
When done click on '''Apply''' and restart the '''LogicalDOC''' service
 
When done click on '''Apply''' and restart the '''LogicalDOC''' service

Revision as of 16:35, 11 August 2020

Assuming <LDOC_HOME> the installation folder of LogicalDOC (eg: C:\LogicalDOC). Open a console with elevated privileges (as Administrator) and execute these commands:

cd C:\LogicalDOC\tomcat\bin
LogicalDOCw.exe //MS//LogicalDOC    (if you do not have tomcat8w.exe use LogicalDOCw.exe instead)

A new tray icon with the LogicalDOC logo appears:
Ldoc tray.png

Right click on it and choose Configure...
Now open the Java tab:
Ldoc config.png

In the field Maximum memory pool you can put the number of maximum memory to use for the heap (in the example 2000 MB).
In production systems we recommend to put the minimum allocated memory equal to the maximum one

When done click on Apply and restart the LogicalDOC service