Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EclipseLink » Memory leak/control overhead (The database fetch object data is 4 times bigger then object born one)
Memory leak/control overhead [message #685981] Tue, 21 June 2011 05:01 Go to previous message
Sven Klemm is currently offline Sven Klemm
Messages: 8
Registered: June 2011
Junior Member
- runtime args: -Xmx1024M -XX:MaxHeapFreeRatio=10 -XX:MinHeapFreeRatio=1
- Payload send from database: about 35 MB (because its an ANSI stream) on IPStack
- Raw entity object payload in memory should be ~100 MB (UTF-8 String, Date-Object, List References)
- Object memory consumption ~650 MB (fetched from DB)
- Object memory consumption ~200 MB (born on client+added to persistence context)

- Why are the memory consumption such that high?
- I tried
* static weaving: no benefit for that use case
* @ReadOnly-Annotation: no benefit for that use case

  • Attachment: testcase.txt
    (Size: 14.35KB, Downloaded 79 times)

[Updated on: Tue, 21 June 2011 05:06]

Report message to a moderator

 
Read Message
Read Message
Read Message
Previous Topic:(no subject)
Next Topic:OptimisticLockException
Goto Forum:
  


Current Time: Fri May 24 13:14:24 EDT 2013

Powered by FUDForum. Page generated in 0.07553 seconds