Home » Main » PaperCut on Linux errors with "Java heap space"

PaperCut on Linux errors with "Java heap space"

There have been a few reports of customers running a combination of 32bit Linux Virtual Machines with smaller amounts of System RAM having problems starting later versions of the PaperCut Application Server. This appears to be limited to environments with 2GB or less of System RAM.

Users who have experienced this issue will see similar errors in their server.log located in [app-path]\server\logs\.

 2011-10-17 08:40:27,523 FATAL AppServer:197 - Unable to start
 application server. Java heap space [WrapperSimpleAppMain]
 java.lang.OutOfMemoryError: Java heap space

Current resolution

Customers have reported that increasing the amount of System RAM has resolved this issue.

Possible resoloution

It is possible that by increasing the RAM fraction that PaperCut has access to that this error may be resolved. Testing of the Java Heap error has not been able to reproduce this issue as at the time of writing so this is something to try if increasing the System RAM is not possible.

PaperCut's Application Server requires at least 192MB of RAM, we would recommend 256MB of RAM or more in most environments. By default PaperCut will use 25% of available system RAM, this means that to meet the minimum requirement of 192MB of RAM, the system should have 768MB system RAM. To meet 256MB you would require 1GB of RAM.

If you can not increase physical RAM, you can try increasing the fraction of available RAM to PaperCut by following this KB article: Increasing the memory available to PaperCut


Categories: Troubleshooting, Linux, Errors


Keywords:

Page last modified on October 17, 2011, at 08:08 PM

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.