NetWorker: How to change the java heap size for the NetWorker Management Console (NMC)

Summary: How to change the java heap size for the NetWorker Management Console (NMC)?

This article applies to This article does not apply to This article is not tied to any specific product. Not all product versions are identified in this article.

Instructions

The NetWorker Management Console (NMC) uses a Java Runtime on the host accessing the console. The console uses the file gconsole.jnlp, which it downloads from the NMC server. This file defines Java memory limits for the host accessing the NMC. The default memory limit is 2 GB. In some scenarios, you may observe "running out of memory" errors in the NMC, even though the host accessing the NMC still has sufficient memory available. This happens when the NMC is nearing the Java heap limit for the NMC. This is expected behavior when performing some operations in the NMC, particularly in larger environments, or environments with a lot of data. 

The Java heap size may be changed from the default NMC value to accommodate various environment configurations.  
 

In the following example, the java heap size is increased on the NMC from 2 GB (-Xmx2048m) to 4 GB (-Xmx4096m) on the NetWorker Management Console Server. The new value applies to any NetWorker Management Console workstations connecting to the NetWorker Management Console Server.

  1. Open the gconsole.jnlp file on the NetWorker Management Console Server.
    • Default Linux: /opt/lgtonmc/web/gconsole.jnlp
    • Default Windows: C:\Program Files\EMC NetWorker\Management\GST\web\gconsole.jnlp 
  1. Change the line for the Java heap memory max size:
    1. NetWorker 19.12.x and prior
    • Existing: <j2se version="1.8+"  java-vm-args="-XX:+IgnoreUnrecognizedVMOptions --add-modules=java.se.ee -Xms256m -Xmx2048m"/>
    • Changed: <j2se version="1.8+"  java-vm-args="-XX:+IgnoreUnrecognizedVMOptions --add-modules=java.se.ee -Xms256m -Xmx4096m"/>
    1. NetWorker 19.13.x and later:
    • Existing: <j2se version="1.8+"  java-vm-args="-Djava.locale.providers=COMPAT"/>
    • Changed: <j2se version="1.8+"  java-vm-args="-Djava.locale.providers=COMPAT" initial-heap-size="512M" max-heap-size="4096M"/>

Size of Configuration

Minimum Memory Required on NMC Client

Minimum Java Max Heap Size

Recommended Java Initial Heap Size

Small configuration (maximum 500 clients)

8 GB RAM

2 GB

1 GB

Medium configuration (maximum 1000 clients)

16 GB RAM

4 GB

2 GB

Large configuration (maximum 2000 clients)

32 GB RAM

6 GB

2 GB 
  1. Restart the NMC services.
    • Linux: systemctl restart gst
    • Windows (PowerShell syntax): net stop gstd ; net start gstd
  1. From the NMC workstation (host accessing the NMC), clear the Java cache. The following articles apply for NetWorker Runtime Environment (NRE):
  1. Launch the NMC.
NOTE: The heap size can be extended beyond 4GB; however, it is important to consider the memory configurations of the hosts accessing the NMC. Increasing the heap too high can result in high memory consumption on the hosts accessing the NMC. If there is a requirement to decrease the default java heap size on the NMC, it may impact the responsiveness of the NMC. It is recommended to use the default java heap size or higher value on the NMC, but it may be decreased if there are limitations in the environment.

Additional Information

Troubleshooting:

To check the settings applied and heap usage of a currently active NMC session, perform the following steps on the host accessing the NMC. These steps must be performed with the NMC open. 

NOTE: These steps only apply to NRE 17+. NRE 8.x does not provide jcmd.exe, which is required for these steps.
  1.  Open an Administrator Command-Prompt or PowerShell.
  2. Change directory to your NetWorker Runtime Environment (NRE) java bin directory. For example:
    PS C:\Users\administrator.AMER> cd "C:\Program Files\NRE\java\"
    PS C:\Program Files\NRE\java> dir
    
    
        Directory: C:\Program Files\NRE\java
    
    
    Mode                 LastWriteTime         Length Name
    ----                 -------------         ------ ----
    d-----         1/19/2026   4:55 PM                jdk-17.0.17
    
    
    PS C:\Program Files\NRE\java> cd .\jdk-17.0.17\bin
    PS C:\Program Files\NRE\java\jdk-17.0.17\bin>
  3. Get the PID of the java.exe process associated with OpenWebStart:
Get-CimInstance Win32_Process | Where-Object { $_.Name -like "*java*" } | Select-Object ProcessId, Name, CommandLine
Example:
PS C:\Program Files\NRE\java\jdk-17.0.17\bin> Get-CimInstance Win32_Process | Where-Object { $_.Name -like "*java*" } | Select-Object ProcessId, Name, CommandLine

ProcessId Name       CommandLine
--------- ----       -----------
     1352 javaws.exe "C:\Program Files\OpenWebStart\javaws.exe" "C:\Users\administrator.AMER\Downloads\gconsole.jnlp"
     7644 java.exe   "C:\Program Files\NRE\java\jdk-17.0.17\bin\java.exe" "-Xbootclasspath/a:C:\Program Files\OpenWebStart\openwebstart.jar" "-Dicedtea-web.bin.location=C:\Program Files\OpenWebStart\javaws" -Xms512M -Xmx2048M -Djava.locale.providers=COMPAT -Djava.util.Arrays.useLegacyMergeSort=true --add-reads=java.base=ALL-UNNAMED,java.desktop --add-reads=java.d...
NOTE: The CommandLine shows the "initial heap" (-Xms) and the "max heap" (-Xmx).
  1. Use jcmd to check the Java Virtual Machine (VM) settings and GC details:
.\jcmd.exe PID VM.flags
.\jcmd.exe PID GC.heap_info
Example:
PS C:\Program Files\NRE\java\jdk-17.0.17\bin> .\jcmd.exe 7644 VM.flags
7644:
-XX:CICompilerCount=2 -XX:ConcGCThreads=1 -XX:G1ConcRefinementThreads=2 -XX:G1EagerReclaimRemSetThreshold=8 -XX:G1HeapRegionSize=1048576 -XX:GCDrainStackTargetSize=64 -XX:InitialHeapSize=536870912 -XX:MarkStackSize=4194304 -XX:MaxHeapSize=2147483648 -XX:MaxNewSize=1287651328 -XX:MinHeapDeltaBytes=1048576 -XX:MinHeapSize=536870912 -XX:NonNMethodCodeHeapSize=5826188 -XX:NonProfiledCodeHeapSize=122916026 -XX:ProfiledCodeHeapSize=122916026 -XX:ReservedCodeCacheSize=251658240 -XX:+SegmentedCodeCache -XX:SoftMaxHeapSize=2147483648 -XX:+UseCompressedClassPointers -XX:+UseCompressedOops -XX:+UseFastUnorderedTimeStamps -XX:+UseG1GC -XX:-UseLargePagesIndividualAllocation

PS C:\Program Files\NRE\java\jdk-17.0.17\bin> .\jcmd.exe 7644 GC.heap_info
7644:
 garbage-first heap   total 524288K, used 112318K [0x0000000080000000, 0x0000000100000000)
  region size 1024K, 103 young (105472K), 2 survivors (2048K)
 Metaspace       used 22772K, committed 23168K, reserved 1114112K
  class space    used 2530K, committed 2752K, reserved 1048576K
Based on the above example:
Metric Value
Heap Reserved (max) Up to 2 GB
Heap Currently Committed (initial) 512 MB
Heap used ~110 MB
Metaspace ~22 MB

Affected Products

NetWorker, NetWorker Management Console

Products

NetWorker Family
Article Properties
Article Number: 000019476
Article Type: How To
Last Modified: 03 Jun 2026
Version:  9
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.