Thanks for the clarification.<br><br><div class="gmail_quote">On Wed, Feb 3, 2010 at 3:10 PM, Ville M. Vainio <span dir="ltr"><<a href="mailto:vivainio@gmail.com">vivainio@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im">On Wed, Feb 3, 2010 at 7:08 PM, Darryl Wallace<br>
<<a href="mailto:darryl.wallace@prosensus.ca">darryl.wallace@prosensus.ca</a>> wrote:<br>
<br>
> If I take the MDI example and start that program, it's using 11,060K of ram.<br>
> Creating a new document in the MDI (by clicking the "new" button on the<br>
> toolbar brings the ram usage up to 11,376K. Upon closing the document, ram<br>
> usage went down to 11,372K. After a minute or so it went down to 11,340K.<br>
> Why doesn't it go back to closer to 11,060?<br>
> I would guess that when the QTextEdit object was destroyed, that the memory<br>
> it used would be returned.<br>
> Can anyone provide some info?<br>
<br>
</div>The application heap is not typically returned to OS directly when<br>
objects are freed. Rather, the freed space will be used by other<br>
objects allocated by the application.<br>
<font color="#888888"><br>
--<br>
Ville M. Vainio<br>
<a href="http://tinyurl.com/vainio" target="_blank">http://tinyurl.com/vainio</a><br>
</font></blockquote></div><br><br clear="all"><br>-- <br>______________________________________<br>Darryl Wallace: Project Leader<br>ProSensus Inc.<br>McMaster Innovation Park<br>175 Longwood Road South, Suite 301<br>Hamilton, Ontario, L8P 0A1<br>
Canada (GMT -05:00) <br><br>Tel: 1-905-528-9136<br>Fax: 1-905-546-1372<br><br>Web site: <a href="http://www.prosensus.ca/">http://www.prosensus.ca/</a><br>______________________________________<br>