Last updated on JULY 24, 2017
Applies to:Oracle Coherence - Version 220.127.116.11 and later
Information in this document applies to any platform.
***Checked for relevance on 21-Nov-2013***
A Coherence cluster and the applications using is are being migrated from Coherence 3.5.3 to 18.104.22.168. Some of the EntryProcessor operations the applications invoke are now encountering OutOfMemoryError exceptions which were not seen when using Coherence 3.5.3.
The application is processing the contents of two other caches, each of which contains 120 million entries and is combining the data to create a third cache, which is part of a different distributed service from the first two caches.
The application essentially invokes:
The EntryProcessor in the method iterates over the set passed to it by Coherence and extracts one field from each object and executes a second EntryProcessor which manipulates the objects in the third cache. Since the two caches are part of different services the invocation of one EntryProcessor from the other is safe and does not introduce any chances of deadlock.
While doing this process the OutOfMemoryError exception is thrown.
Examining the heap reveals the following objects, only seen in the Coherence 3.7.1 heaps, consuming lots of memory:
Only change was the upgrade from Coherence 3.5.3 to 22.214.171.124. No application changes had been made.
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
Million Knowledge Articles and hundreds of Community platforms