[PyQt] Memory Release question
Darryl Wallace
darryl.wallace at prosensus.ca
Wed Feb 3 21:24:47 GMT 2010
Thanks for the clarification.
On Wed, Feb 3, 2010 at 3:10 PM, Ville M. Vainio <vivainio at gmail.com> wrote:
> On Wed, Feb 3, 2010 at 7:08 PM, Darryl Wallace
> <darryl.wallace at prosensus.ca> wrote:
>
> > If I take the MDI example and start that program, it's using 11,060K of
> ram.
> > Creating a new document in the MDI (by clicking the "new" button on the
> > toolbar brings the ram usage up to 11,376K. Upon closing the document,
> ram
> > usage went down to 11,372K. After a minute or so it went down to
> 11,340K.
> > Why doesn't it go back to closer to 11,060?
> > I would guess that when the QTextEdit object was destroyed, that the
> memory
> > it used would be returned.
> > Can anyone provide some info?
>
> The application heap is not typically returned to OS directly when
> objects are freed. Rather, the freed space will be used by other
> objects allocated by the application.
>
> --
> Ville M. Vainio
> http://tinyurl.com/vainio
>
--
______________________________________
Darryl Wallace: Project Leader
ProSensus Inc.
McMaster Innovation Park
175 Longwood Road South, Suite 301
Hamilton, Ontario, L8P 0A1
Canada (GMT -05:00)
Tel: 1-905-528-9136
Fax: 1-905-546-1372
Web site: http://www.prosensus.ca/
______________________________________
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20100203/5d0461b6/attachment.html>
More information about the PyQt
mailing list