TSM Status Shows Elasticserver "UNAVAILABLE"

Published: 19 Mar 2019
Last Modified Date: 20 Aug 2020


TSM status shows Elasticserver as "UNAVAILABLE"

How to identify the issue:
  1. Locate the Elasticserver log file in this directory:

    <install directory>data\tabsvc\logs\elasticserver

  2. Look for this file name: stdout_elasticserver*
  3. You may come across these log lines:

java.lang.OutOfMemoryError: Java heap space

Terminating due to java.lang.OutOfMemoryError: Java heap space

Which indicates that Elasticserver is not healthy.


  • Tableau Server 2019.1
  • Elasticserver
  • ASK Data


Follow the steps below.

1. Run this tsm configuration:

tsm configuration set -k elasticserver.vmopts -v "-Xmx1g -Xms1g"

This command will increase the memory to 1GB or higher based on available system memory, but not more than half of total memory. For more information, search for "elasticserver.vmopts" on this Tableau Server Help page.

2. Confirm the configuration is pending:

tsm pending-changes list

3. Apply the pending change:

tsm pending-changes apply

Note: this will restart Tableau Server services


On installation of Tableau Server, Elasticsearch is defaulted to 256MB of memory. However, as Tableau Server ages and customers start using ASK Data, Elasticserver may run out of memory.
Did this article resolve the issue?