Knowledgebase: PaperCut > Administration
server-command.exe shows a memory error "Java heap space"
Last modified on 14 August 2020 06:00 PM

The memory requirements for server-command to run are quite minimal with the exception of the snmp-tool as discussed here.

In certain rare circumstances you may encounter the following error:

Exception in thread "main" java.lang.OutOfMemoryError: Java heap space

This should be resolved by modifying the server-command.lap and adding these two lines to the end:


Important: Please contact PaperCut Technical Support if you need to make this change, even if it works.