I've have spent the last few days trying to debug a suspected memory
leak in my traffic scripts. For my SIP-only UAC and UAS scenarios, I
found a simple solution to the problem I was having. By enabling the
printHeapUsageOnExit option I was able to quickly note that I had a
alot of persisting UdpSessions kicking around which led me to the fact
that I wasn't invalidating my sessions on all of my error paths. Now
for my SIP-only scenarios I no longer have runaway object creation and
the Ruby ObjectSpace & GC seems to be keeping up. Most of the time
the Ruby process is bounded to about 30 mb or so ...which is a lot
better than it was.
For my scenarios involving SIP and HTTP, I have an HTTP server
controller, and I seem to have a memory leak I can't resolve. It
seems even if I attempt to invalidate no longer needed HTTP sessions,
they are still living. At the end of all of my runs, I have several
thousand DetachedSession objects even though I have called
session.invalidate(true) on them. Is there a known bug with
invalidating HTTP sessions? Unfortunately, over a very short run of
traffic, my HTTP server controller can gobble 500 mb of memory and
most times, near the end of the run, has gobbled 1.6 gb before it
crashes.
Any ideas on things I could try to resolve this problem?
thanks,
Dave Adams.
thanks,
Dave Adams.
--
You received this message because you are subscribed to the Google Groups "Sipper" group.
To post to this group, send email to sip...@googlegroups.com.
To unsubscribe from this group, send email to sipper+un...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/sipper?hl=en.
I sent you my scenario and logs to your gmail account.
regards,
Dave Adams.
> > sipper+un...@googlegroups.com<sipper%2Bunsu...@googlegroups.com>
To unsubscribe from this group, send email to sipper+un...@googlegroups.com.
Dave Adams
On Feb 18, 6:46 am, sharat mohan <sharat.mo...@gmail.com> wrote:
> Hi Dave,
>
> > <sipper%2Bunsu...@googlegroups.com<sipper%252Bunsubscribe@googlegroups. com>