[Lazarus] TSimpleIPC documentation

Mattias Gaertner nc-gaertnma at netcologne.de
Wed Feb 20 00:57:04 CET 2008


On Tue, 19 Feb 2008 23:27:27 +0100
Vincent Snijders <vsnijders at quicknet.nl> wrote:

> Mattias Gaertner schreef:
> > On Tue, 19 Feb 2008 18:32:01 +0100
> > "Felipe Monteiro de Carvalho" <felipemonteiro.carvalho at gmail.com>
> > wrote:
> > 
> >> On Feb 19, 2008 11:30 AM, Graeme Geldenhuys
> >> <graemeg.lists at gmail.com> wrote:
> >>> I'm sure others will complain, but heres another though. :) What
> >>> if you do the search at Lazarus startup.
> >> No way! If that is done it must be optional and off by default. My
> >> time is precious and I can't waste 1 minute (on a fast computer)
> >> every time I start my IDE.
> > 
> > The 1 minute is only on slow computers. On fast computers it can be
> > less than 5 secs.
> > You can get an approximation for your computer: 
> > - use a recent lazarus from svn
> > - View / Code Browser / Scope / Lazarus IDE and check 'View required
> > packages'. The window feels a bit sloppy because it scans on
> > idle.
> > 
> > This is only an upper bound, because the code browser reads
> > *all* identifiers (e.g. together with procedure parameters) and
> > fills the 100-200 thousand identifiers into a TTreeView. This is
> > not needed for a simple search.
> 
> It leaks also.
> Heap dump by heaptrc unit
> 19285798 memory blocks allocated : 1417461011/1472321456
> 18138576 memory blocks freed     : 1377766319/1429527048
> 1147222 unfreed memory blocks : 39694692
> True heap size : 139460608 (240 used in System startup)
> True free heap : 16303360
> Should be : 32421528
> 
> I can send you the details of the leaks (back traces) on request.

Yes, please. It does not leak here.

Mattias



More information about the Lazarus mailing list