When querying data with a dynamic global index, a large amount of data is returned causing out of memory conditions

Technote (troubleshooting)


Problem(Abstract)

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.

Symptom

MapGlobalIndex method returns a large amount of data and you see out of memory (OOM) conditions.


Cause

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.

Rate this page:

(0 users)Average rating

Add comments

Document information


More support for:

WebSphere DataPower XC10 Appliance

Software version:

2.5

Operating system(s):

Firmware

Reference #:

1640184

Modified date:

2013-06-14

Translate my page

Machine Translation

Content navigation