<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<TITLE>Message</TITLE>
<META content="MSHTML 6.00.6000.16544" name=GENERATOR></HEAD>
<BODY text=#000000 bgColor=#ffffff>
<DIV><FONT face=Arial color=#0000ff size=2></FONT><BR> </DIV>
<BLOCKQUOTE
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid; MARGIN-RIGHT: 0px"><FONT
face=Arial color=#0000ff size=2></FONT><BR><BR>so there we go. looking at the
numbers I got from the memory manager:<BR><BR>
<BLOCKQUOTE type="cite"> 41870000 open lazarus, with about
a dozen units - close one unit, to trigger the output <BR>198591312
open 450 univint - close one unit, to trigger the output
<BR> 63014880 close all 450 univint => ok so some meory
was kept <BR></BLOCKQUOTE>
<DIV><BR>The 450 files covered 16.7 MB text.<BR><BR>After they were closed,
all but 21.1 MB were freed. Given that it will take a bit of overhead to store
the data, given that session info is stored too..... I believe the numbers
match pretty well.<BR>I would say all memory is accounted for.<BR><BR>As for
why memory returned to memory manager, does not get back to the OS (apparently
not even when using cmem...) no idea. But memory is definitely returned to the
mem manager.<BR><BR>As for the issue Ludo reported with QT, and requiring even
a reset of his system. *IF* any handles or other resources of the widgetset
(not the lazarus part, but the actual QT or GTK lib or w32) are leaked, then
it needs to be traced. (btw there were people with issues on win98, so it
could be).<BR>But such leaks, would be necessarily be likely to be noticeable
as huge memory consumers.<BR><SPAN class=343305517-15082011><FONT face=Arial
color=#0000ff size=2> </FONT></SPAN></DIV></BLOCKQUOTE>
<DIV><SPAN class=343305517-15082011><FONT face=Arial color=#0000ff size=2>And
GTK2 growing. PThread and TCodeBuffer.</FONT> <FONT face=Arial><FONT
color=#0000ff size=2>Also still some work there.</FONT></FONT></SPAN></DIV>
<DIV><SPAN class=343305517-15082011><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=343305517-15082011><FONT face=Arial color=#0000ff
size=2>Ludo</FONT></SPAN></DIV></BODY></HTML>