KNOWLEDGE BASE

GC Overhead Limit Exceeded


Published: 30 Jan 2013
Last Modified Date: 20 Sep 2016

Issue

Changing GC parameters causes the following error:

GC overhead limit exceeded

Environment

Tableau Server 8.0 and earlier versions

Resolution

Increase the Java heap size:

  1. On the Tableau Server machine, open the Command Prompt as an administrator.
  2. Change to the server bin directory. For example:

    C:\Program Files (x86)\Tableau\Tableau Server\7.0\bin

  3. Run the following commands:
    • ​tabadmin stop
    • tabadmin set wgserver.vmopts "'-Xmx512m -Xss2048k'"
    • tabadmin configure
    • tabadmin start

Cause

This is a variant of a Java error OutOfMemoryError. This is thrown if too much time is being spent in garbage collection. That is, more than 98% of the total time is spent in garbage collection and less than 2% of the heap is recovered. This is designed to prevent applications from running for an extended period of time while making little or no progress because the heap is too small.

Additional Information

Run the following commands to revert if the steps above do not resolve the issue.

  • tabadmin stop
  • tabadmin set wgserver.vmopts --default
  • tabadmin configure
  • tabadmin start
Did this article resolve the issue?