My Oracle Support Banner

EntryProcessor invokeAll Thows OutOfMemory Exception for Large Caches (Doc ID 1298133.1)

Last updated on JANUARY 18, 2024

Applies to:

Oracle Coherence - Version 3.5.0 to 3.6.1 [Release AS10g]
Information in this document applies to any platform.

Symptoms

Call invokeAll() on a large cache (e.g. 20GB) from a client against all the entries in the cache. The entry processor returns null from the process() method. When the entry processor returns a Map of results the resulting Map contains every key in the cache as a key with null as the value. At a certain cache size the client will die with an "Out Of Memory" exception. This return Map must be buffered in the client even when there is no result.

The code being used is as follows.

Cause

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
Symptoms
Cause
Solution

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.