Status: New
Owner: ----
Labels: Component-Diameter Type-Enhancement Priority-Medium Version-1.4.00
Release-Type-FINAL Roadmap-Fix
New issue 2261 by fabien.markart: GC slowdown and excessive memory
consumption
http://code.google.com/p/mobicents/issues/detail?id=2261
Under high load, the stack is consuming lots of memory (no memory leaks)
but GC is triggered excessively in Old Memory Space.
A good fix would be to pool frequently used objects.
Concerned object might be :
- LocalTimerFacilityImpl.TimerTask
- MessageImpl
- AvpSetImpl
- AvpImpl
- DefaultRunnable
Difficulty to pool an object is you have to control its life-cycle. We only
managed to pool TimerTask as it's difficult for other object to follow the
full life-cycle, more precisely the end of life.
Attached the patch for LocalTimerFacilityImpl, we currently find it enough
for the problematic as GC isn't slowing down the stack anymore at 3600
requests/s on our OCS as it seems only collecting in Eden Space.
For information OldMem is never taking more than 200Mo now.
--
fab. and bastien
Attachments:
LocalTimerFacilityImpl_Pool.patch 10.1 KB