java.lang.OutOfMemoryError when SOA server uses persistance API

(Doc ID 1358454.1)

Last updated on OCTOBER 18, 2016

Applies to:

Oracle SOA Platform - Version: and later   [Release: 11gR1 and later ]
Information in this document applies to any platform.


In spite of allocating large amount of memory to SOA JVM you are still getting out of memory errors.
To diagnose these errors you collected jrockit_.hprof files. You have used
MemoryAnalyzer from Eclipse and have discovered that objects which are part of the following tree
have used most of the memory: (299MB) -> java.util.Vector (299MB) -> java.lang.Object (299MB) -> org.eclipse.persistence.sessions.DatabaseRecord (25,000 nearly identical records of 11.8 KB each).


Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms