Tools
Java heap space error displays in the Web Help Desk Admin Console
This article addresses an issue where the email response rate deteriorates and a Java heap space error message displays in the Web Help Desk Admin Console.
First published date
Last published date
Overview
The Web Help Desk email response rate deteriorates and the following error message displays in the Web Help Desk Admin Console:
Product section
Cause
Insufficient Java Virtual Machine (JVM) memory allocated to Web Help Desk.
Resolution
- Calculate the memory allocation for your deployment.
- Increase the JVM memory allocated to Web Help Desk.
By default, Web Help Desk is allocated 512 MB of memory for the Java Virtual Machine Heap Space.
Calculate the memory allocation
To configure an appropriate amount of memory for your deployment, use the following formula:
- Assign 3 GB (for the first 10 technicians)
- Add 1 GB for every 10 additional technicians
Using the example of 20 concurrent techs MAXIMUM_MEMORY setting should be:
3 GB + 1 GB = MAXIMUM_MEMORY
3072 +1024 = 4096 or 4 GB
Due to the 32-bit Java memory limitations (1500 MB maximum heap size), you must be running Web Help Desk 64-bit for deployments that require 20 or more simultaneous users.
Increase the JVM memory allocated to Web Help Desk
- Log in to the Web Help Desk server as an administrator.
- Stop Web Help Desk (Stop and start Web Help Desk).
- Open the Web Help Desk installation directory.
- Apple® OS X: Library\WebHelpDesk\conf
- Microsoft® Windows®: *:\Program Files\WebHelpDesk\conf
- Linux: /usr/local/webhelpdesk/conf
- Open the whd.conf file in a text editor (such as Notepad)
- Locate the MAXIMUM_MEMORY configuration setting.
- Update the setting value based on your memory calculations.
- Save and close the file.
- Start Web Help Desk (Stop and start Web Help Desk).