KNOWLEDGE BASE

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


Published: 07 Apr 2015
Last Modified Date: 06 Jul 2016

Issue

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.

Environment

Tableau Server

Resolution

Option 1

Restart Tableau Server.

Option 2

Increase the wgserver Java Virtual machine heap space.The default heap space setting is 512MB, doubling it to 1024MB should suffice.
tabadmin set wgserver.vmopts "'-Xmx1024m -Xss2048k -XX:MaxPermSize=128m'"
tabadmin configure
tabadmin restart

Note: Single and double quotes must match the above exactly.


 

Cause

Wgserver java virtual machine heap space was exhausted.
Did this article resolve the issue?