EducationSoftwareStrategy.com
StrategyCommunity

Knowledge Base

Product

Community

Knowledge Base

TopicsBrowse ArticlesDeveloper Zone

Product

Download SoftwareProduct DocumentationSecurity Hub

Education

Tutorial VideosSolution GalleryEducation courses

Community

GuidelinesGrandmastersEvents
x_social-icon_white.svglinkedin_social-icon_white.svg
Strategy logoCommunity

© Strategy Inc. All Rights Reserved.

LegalTerms of UsePrivacy Policy
  1. Home
  2. Topics

KB439966: "java.lang.OutOfMemoryError: GC overhead limit exceeded" error occurs when executing a report against MongoDB in MicroStrategy Secure Enterprise 10.x


Shugo Sonobe

Principal Consultant • MicroStrategy


This article describes an issue in which a report execution against MongoDB fails due to the error "java.lang.OutOfMemoryError: GC overhead limit exceeded". The article explains the root cause and the action to take.

SYMPTOMS
When executing a report against MongoDB in Strategy Developer/Web 10.x, the report execution fails and the following error is captured in the DSSErrors.log.


[Database Classes][Error] Execute Query failed. 
Error type: Odbc error. Odbc operation attempted: SQLExecDirect. [HY000:-460: on SQLHANDLE] 
[Strategy][ODBC MongoDB driver][MongoDB]java.lang.OutOfMemoryError: GC overhead limit exceeded 
Connection String: DRIVER=Strategy ODBC Driver for MongoDB;

CAUSE
The default or specified heap size used by the JVM is not sufficient to fulfill the query execution.
ACTION
Increase the heap size through the JVM Arguments.
 
1) DSN
Under the corresponding DSN, modify the value of the JVM Arguments (SQL Engine tab -> Edit Server Settings -> JVM Arguments)

ka044000000kOMWAA2_0EM44000000A3kQ.png

2) DSN-less connection
The attribute JVMArgs with a desired value needs to be added to the connection string. In order to specify the heap to 2048MB, for example, add below to the connection string.
JVMArgs={-Xmx2048m};
Third Party Software Installation:
WARNING:
The third-party product(s) discussed in this technical note is manufactured by vendors independent of Strategy. Strategy makes no warranty, express, implied or otherwise, regarding this product, including its performance or reliability.
  KB439966


Comment

0 comments

Details

Knowledge Article

Published:

March 23, 2018

Last Updated:

December 31, 2018