EntryProcessor Invocations Using More Memory in Coherence 3.7.1 Compared to Earlier Releases
(Doc ID 1463402.1)
Last updated on APRIL 30, 2020
Applies to:Oracle Coherence - Version 22.214.171.124 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 126.96.36.199. 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 188.8.131.52. No application changes had been made.
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!
In this Document