<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8">
<META content="MSHTML 6.00.2900.2180" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hello.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>When task scheduler is created via
"BasicTaskScheduler::createNew()" and usage environment is created via
</FONT></DIV>
<DIV><FONT face=Arial size=2>BasicUsageEnvironment::createNew(scheduler).
Allocated memory shows 1892Kb.</FONT></DIV>
<DIV><FONT face=Arial size=2>After I create Medium via: </FONT></DIV>
<DIV><FONT face=Arial size=2>Medium *ourClient =
RTSPClient::createNew(usageEnvironment , 0, "app1",0);</FONT></DIV>
<DIV><FONT face=Arial size=2>Memory usage goes to 1960Kb.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>After calling Medium::close(ourClient), memory
jumps to 1968Kb? </FONT></DIV>
<DIV><FONT face=Arial size=2>I see that the data in ourClient is all nullified
but the memory allocated by createNew does not go back to the OS.</FONT></DIV>
<DIV><FONT face=Arial size=2>I'm guessing the same thing is happening with
MediaSession also?</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>How do I release memory allocated for ourClient
since destructor is private operation.</FONT></DIV><BR />
<BR />
<HR />
ELMA Kurtalj d.o.o. (ELMA Kurtalj ltd.)<BR />
Vitezićeva 1a, 10000 Zagreb, Hrvatska (Viteziceva 1a, 10000 Zagreb, Croatia)<BR />
Tel: 01/3035555, Faks: 01/3035599 (Tel: ++385-1-3035555, Fax: ++385-1-3035599 )<BR />
<BR />
Www:<BR />
www.elma.hr; shop.elma.hr<BR />
<BR />
E-mail:<BR />
elma@elma.hr (elma@elma.hr)<BR />
pitanje@elma.hr (questions@elma.hr)<BR />
primjedbe@elma.hr (complaints@elma.hr)<BR />
prodaja@elma.hr (sales@elma.hr)<BR />
servis@elma.hr (servicing@elma.hr)<BR />
shop@elma.hr (shop@elma.hr)<BR />
skladiste@elma.hr (warehouse@elma.hr)<BR />
</BODY></HTML>