KNOWLEDGE BASE

Error "java.lang.OutOfMemoryError: GC overhead limit exceeded" When Creating Athena Extract


Published: 08 Jul 2019
Last Modified Date: 21 Jan 2020

Issue

When creating a large extract of an Amazon Athena data source, the following error may occur:

java.lang.OutOfMemoryError: GC overhead limit exceeded 

Environment

  • Tableau Desktop 
  • Amazon Athena

Resolution

Upgrade to the latest Amazon Athena JDBC driver, which are available from Using Athena with the JDBC Driver. For additional information about this topic, see the Tableau Driver Download page. 

Note: While we make every effort to keep references to third-party content accurate, the information we provide in this article might change without notice.

Cause

The Amazon JDBC driver AthenaJDBC41-1.1.0.jar has a defect that results in memory leak. 
Did this article resolve the issue?