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

KB Home   |   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,


Keywords:

Comments

Share your findings and experience with other PaperCut users. Feel free to add comments and suggestions about this Knowledge Base article. Please don't use this for support requests.

Article last modified on July 11, 2012, at 12:56 AM
Printable View   |   Article History   |   Edit Article