Submit a ticketCall us

Looking to compare latest NPM features with previous versions of NPM?
The NPM new feature summary offers a comparison of new features and improvements offered with this release.

 

Home > Success Center > Web Help Desk (WHD) > Increase the Java Virtual Machine (JVM) memory

Increase the Java Virtual Machine (JVM) memory

Overview

This article describes how to increase the Java Virtual Machine (JVM) memory in Web Help Desk. 

Environment

All Web Help Desk versions

Steps

  1. Calculate the required allocated memory for your deployment.
  2. Update the whd.conf file in the Web Help Desk directory.
  3. Restart Web Help Desk. 

Calculate the required allocated memory

To configure an appropriate amount of memory for your deployment, use the following formula:
(Average # of Concurrent Techs x 150) + (Average # of Concurrent Users x 25) = MAXIMUM_MEMORY

For example, if you have 10 concurrent techs and 50 concurrent clients, the MAXIMUM_MEMORY setting in the whd.conf file should be:     
(10 x 150)1500 + (50 x 25)1250 = 2750 or 2.75GB  

MAXIMUM_MEMORY=2750

Update the whd.conf file

Update the whd.conf file with the new memory setting. 

Microsoft Windows

  1. Navigate to the Web Help Desk directory located at:
    C:\Program Files\WebHelpDesk\
  2. Open the \confdirectory.
  3. Open the whd.conf file in a text editor (such as Notepad). 
  4. Using the value you calculated in the previous section, change the MAXIMUM_MEMORY parameter to a value that is no greater that the total memory installed on the server. SolarWinds recommends allocating 3GB - 4 GB of memory.
  5. Save and close the file. 

macOS

  1. Using Finder, navigate to Applications > Utilities > Terminal and open the Terminal application.
  2. Connect to the Virtual Appliance.
  3. Change the directory to the Web Help Desk conf directory:
    cd /Library/WebHelpDesk/conf
  4. Open the whd.conf file by typing: 
    sudo vi whd.conf
  5. Enter the following command to change the maximum JVM to the appropriate value: :%s/MAXIMUM_MEMORY=512/MAXIMUM_MEMORY=[memory in MB]/ :wq
    For example,  if you would like to use 2750MB, type
    :%s/MAXIMUM_MEMORY=512/MAXIMUM_MEMORY=2750/ :wq
  6. Save and close the file.

Linux/SolarWinds WHD VA

  1. Connect to the Virtual Appliance (VA) using an SSH client.
  2. Enter the following credentials:
    - Username: admin
    - Password: admin (default password)
    If you changed the default password enter the new password.
    If you do not have an SSH client and are running Windows, download a free SSH client (such as PuTTY), connect with the following credentials, and then click Open:
    - Host Name or IP: (IP of your VA)
    - Username: admin
  3. Change the directory to the Web Help Desk /conf directory by typing: 
    cd /usr/local/webhelpdesk/conf
  4. Open the whd.conf file by typing:
    sudo vi whd.conf
  5. Type the following command to change the maximum JVM to the appropriate value:
    :%s/MAXIMUM_MEMORY=512/MAXIMUM_MEMORY=[memory in MB]/ :wq
    For example, if you want to change the value to 2750 MB, type:
    :%s/MAXIMUM_MEMORY=512/MAXIMUM_MEMORY=2750/ :wq
  6. Save and close the file. 

Restart Web Help Desk

See the appropriate instructions below to restart Web Help Desk. 

Microsoft Windows

  1. Navigate to C:\Program Files\WebHelpDesk 
  2. Right-click whd_stop.bat and select Run As Administrator. 
  3. After the Command Prompt window closes, right-click whd_start.bat and select Run As Administrator.

macOS

Open a terminal window and type:

sudo /Library/WebHelpDesk/whd stop then: sudo /Library/WebHelpDesk/whd start

Linux/SolarWinds Web Help Desk VA

Open a command prompt and type:

sudo service webhelpdesk stop then: sudo service webhelpdesk start

Last modified
13:01, 27 Apr 2017

Tags

Classifications

Public