Tuning Memory Usage On Windows

From LogicalDOC Community Wiki
Revision as of 10:06, 4 March 2024 by Car031 (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

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

cd <LDOC_HOME>\tomcat\bin
LogicalDOCw.exe //MS//LogicalDOC    (if you do not have LogicalDOCw.exe use tomcat8w.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