When querying data with a dynamic global index, a large amount of data is returned causing out of memory conditions
When querying large amounts of data with methods or APIs on the MapGlobalIndex, the method returns a large amount of data and you see out of memory (OOM) conditions.
MapGlobalIndex method returns a large amount of data and you see out of memory (OOM) conditions.
There is a lot of indexed data and this data is very large.
Diagnosing the problem
The following methods might return a large amount of data: findValues(Object...), findValuesByAttribute(Object...), findEntries(Object...) and findEntriesByAttribute(Object...)
Resolving the problem
Retrieve the data in smaller groups. Use the methods findKeys(Object...) or findKeysByAttribute(Object...) instead, and then use ObjectMap.getAll(java.util.List) to retrieve the values in smaller groups; for example groups of 10.
Translate this page: