server-command.exe shows a memory error "Java heap space"

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:

-Xms32M
-Xmx128M

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


Categories: Troubleshooting Articles, Administration


Keywords:

Comments