Choose your language

Choose your login

Support

How can we help?

PaperCut's AI-generated content is continually improving, but it may still contain errors. Please verify as needed.

Lightbulb icon
Lightbulb icon

Here’s your answer

Sources:

* PaperCut is constantly working to improve the accuracy and quality of our AI-generated content. However, there may still be errors or inaccuracies, we appreciate your understanding and encourage verification when needed.

Lightbulb icon

Oops!

We currently don’t have an answer for this and our teams are working on resolving the issue. If you still need help,
User reading a resource

Popular resources

Conversation bubbles

Contact us

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

THE PAGE APPLIES TO:

Last updated September 30, 2025

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.


Category: Troubleshooting Articles

Subcategory: Administration


Keywords:

Comments