Re: Substantial memory reduction



> Now, we have assembly attributes (essentially assembly metadata) which
> specifies the classes that were previously picked out of thousands.
> This metadata is usually set in an AssemblyInfo.cs file for the
> assembly, and is required for these classes to be loaded.  Think of it
> as registering a class.  This is necessary for filters, backends, and
> message passing elements.  It's also used in the Thunderbird backend.

Does that mean backends and filters now cannot be developed outside the tree 
without modifying beagle sources (AssemblyInfo.cs) ?

> The memory savings are substantial.  With a non-existent ~/.beagle and
> all 16 backends started:
>
>         old: Debug: Memory usage: VmSize=46.0 MB, VmRSS=19.8 MB, 
> GC.GetTotalMemory=1499136 new: Debug: Memory usage: VmSize=34.7 MB,
> VmRSS=12.9 MB,  GC.GetTotalMemory=1343488
>
> That's 7 meg reduction in RSS size from the old to the new.  From some
> heap-buddy statistics:

Thats wonderful. Thanks Joe. beagle now consumes lesser memory on startup than 
many other desktop apps.

- dBera

-- 
-----------------------------------------------------
Debajyoti Bera @ http://dtecht.blogspot.com
beagle / KDE fan
Mandriva / Inspiron-1100 user



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]