Patch Reviews - Middleware (MOSC)

MOSC Banner

OSB enormous memory footprint for a 4MB response

edited Feb 20, 2014 12:00PM in Patch Reviews - Middleware (MOSC) 3 commentsAnswered
 
Is this a know issue ?

I have the problem that another users already have:

4MB response is has a 450 MB memory footprint

Heap dump confirms this...

Class Name                                     |   Objects | Shallow Heap |    Retained Heap
---------------------------------------------------------------------------------------------
char[]                                         | 3,251,496 |  894,706,928 |   >= 894,706,928
org.apache.xmlbeans.impl.store.Xobj$AttrXobj   | 8,159,770 |  718,059,760 | >= 1,040,926,280
java.lang.String                               | 6,657,510 |  159,780,240 |   >= 492,936,440
java.util.HashMap$Entry[]                      | 1,156,910 |   98,252,144 |   >= 595,764,336
java.util.HashMap$Entry                        | 2,856,626 |   68,559,024 |   >= 511,145,912
java.lang.Object[]                             |   289,095 |   46,667,408 |   >= 625,220,808
java.util.HashMap                              | 1,131,893 |   45,275,720 |   >= 630,141,112
org.apache.xmlbeans.impl.store.Xobj$ElementXobj|   441,674 |   42,400,704 | >= 1,281,253,456
---------------------------------------------------------------------------------------------


OSB 10.3 same for 11g


OSB uses XmlBeans to "materialize" payload in memory... this is not a very memory-efficient framework, because each payload is represented as a XmlObject, a self describing (hence redundant) object.

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

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

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center