Comment #21 on issue 2130 by jean.deruelle: Memory leak in Sip stack when INFO message is used
http://code.google.com/p/mobicents/issues/detail?id=2130

SIPClientTransaction have some timers to be able to collect late responses so when they go to TERMINATED state, they usually get cleaned up and not referenced anymore after 10-20 sec I would say. when you profile make sure the JVM options are set correctly as in my comment #11. it may depend on JVM Tuning you can try -XX:CMSInitiatingOccupancyFraction=80 as well. What can happen is that if the object is held for too long in the young generation it gets promoted to the old generation and then only a stop the world GC will collect the memory which is why it is important to tune your JVM settings accordingly.

I committed a fix in Comment 20 to avoid this warning and so that the response is still passed to the application but sometimes if the response takes time to arrive it may not be passed especially as if the session is already invalidated.


Reply via email to