[Live-devel] Closing the media does not free allocated memory?
Dario
dmaljur at elma.hr
Wed Jul 22 02:04:23 PDT 2009
Hello.
When task scheduler is created via "BasicTaskScheduler::createNew()" and usage environment is created via
BasicUsageEnvironment::createNew(scheduler). Allocated memory shows 1892Kb.
After I create Medium via:
Medium *ourClient = RTSPClient::createNew(usageEnvironment , 0, "app1",0);
Memory usage goes to 1960Kb.
After calling Medium::close(ourClient), memory jumps to 1968Kb?
I see that the data in ourClient is all nullified but the memory allocated by createNew does not go back to the OS.
I'm guessing the same thing is happening with MediaSession also?
How do I release memory allocated for ourClient since destructor is private operation.
ELMA Kurtalj d.o.o. (ELMA Kurtalj ltd.)
Vitezićeva 1a, 10000 Zagreb, Hrvatska (Viteziceva 1a, 10000 Zagreb, Croatia)
Tel: 01/3035555, Faks: 01/3035599 (Tel: ++385-1-3035555, Fax: ++385-1-3035599 )
Www:
www.elma.hr; shop.elma.hr
E-mail:
elma at elma.hr (elma at elma.hr)
pitanje at elma.hr (questions at elma.hr)
primjedbe at elma.hr (complaints at elma.hr)
prodaja at elma.hr (sales at elma.hr)
servis at elma.hr (servicing at elma.hr)
shop at elma.hr (shop at elma.hr)
skladiste at elma.hr (warehouse at elma.hr)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20090722/49e83c87/attachment.html>
More information about the live-devel
mailing list