Loading

Tableau Server Error "​Java::JavaLang::OutOfMemoryError: Java heap space" and Application Server is Down

Julkaisupäivä: Dec 1, 2025
Kuvaus
The Tableau Server admin view indicates that the Application Server process is down. Additionally, the following error can be found in the wgserver log: 

Java::JavaLang::OutOfMemoryError: Java heap space.

Cause

Application Server java virtual machine heap space was exhausted.
Ratkaisu

To assist with the Tableau Application Server Java virtual machine heap space out of memory for both Tableau Server 2018.2 and later on Windows and Linux, perform the following:

1. Default settings for vizportal.vmopts may differ from version to version. The highlighted portion in the given example is the parameter that needs to be increased to add additional memory to the heap space. To see the current value, use the command below to see the current parameters for vizportal.vmopts and modify the -Xmx####m parameter as needed where ### is the number of Megabytes allocated.

tsm configuration get -k vizportal.vmopts


2. Increase the application server Java Virtual machine heap space. The default heap space setting is 1024 MB, doubling it to 2048 MB should suffice.

tsm configuration set -k vizportal.vmopts -v "-XX:+UseConcMarkSweepGC -Xmx2048m -Xms256m -XX:+CrashOnOutOfMemoryError -XX:-CreateMinidumpOnCrash"
tsm pending-changes apply  
Lisäresurssit

Heap size may be adjusted for multiple processes in a similar fashion by replacing the name of the process in the above steps (backgrounder, vizqlserver, vizportal, dataserver, etc..).

You can then run the get command to confirm the change:
tsm configuration get -k <process>.vmopts 

 

Knowledge-artikkelin numero

001472990

 
Ladataan
Salesforce Help | Article