laptop and a wrench

Bug

Offline geodatabase query of sufficiently large feature sets in the ArcGIS Runtime API for Android results in an app crash and returns the following error, "JNI ERROR (app bug): weak global reference table overflow (max=51200)."

Last Published: September 24, 2021 ArcGIS Runtime SDK
Bug ID Number BUG-000141551
SubmittedJuly 19, 2021
Last ModifiedJune 5, 2024
Applies toArcGIS Runtime SDK
Version found100.11
Operating SystemAndroid
Operating System Version10.x
StatusWill Not Be Addressed

Additional Information

When working with a large number ArcGIS feature instances, to ensure a deterministic and timely release of resources, there is a close method on ArcGIS Feature since version 100.6: https://developers.arcgis.com/android/api-reference/reference/com/esri/arcgisruntime/data/ArcGISFeature.html#close() The feature instance can be closed if it is no longer being used to free resources.

Workaround

Query smaller feature sets.

Steps to Reproduce

Bug ID: BUG-000141551

Software:

  • ArcGIS Runtime SDK

Get notified when the status of a bug changes

Download the Esri Support App

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options