dsss build, tango, GC ?

Fred Burton fredlburton at gmail.com
Wed Jun 9 12:39:39 PDT 2010


> I think that the GC doesn't give back memory to the system. It keeps it
> for future use.

Ah, but I'm seeing the memory usage increasing over time still...

for a test run of some sort, my largest loss record is:


==3191== 16,240,909 bytes in 35,757 blocks are definitely lost in loss record 1,017 of 1,017
==3191==    at 0x40238FC: malloc (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==3191==    by 0x80817CC: gc_malloc (in /home/fburton/lang/d/guigl/flb.gui.boxmaker)
==3191==    by 0x807DD20: _d_arrayappendcT (in /home/fburton/lang/d/guigl/flb.gui.boxmaker)
==3191==    by 0x804B937: _D5tango4text4Util12__T5splitTaZ5splitFAaAaZAAa15__foreachbody24MFKAaZi (in
/home/fburton/lang/d/guigl/flb.gui.boxmaker)
==3191==    by 0x804BA33: _D5tango4text4Util20__T12PatternFructTaZ12PatternFruct7opApplyMFDFKAaZiZi (in
/home/fburton/lang/d/guigl/flb.gui.boxmaker)
==3191==    by 0x804B90D: _D5tango4text4Util12__T5splitTaZ5splitFAaAaZAAa (in /home/fburton/lang/d/guigl/flb.gui.boxmaker)
==3191==    by 0x804F16C: _D3flb3gui8wordwrap9word_wrapFAAafC3flb3gui9themebase10IStyleTextZAAa (in
/home/fburton/lang/d/guigl/flb.gui.boxmaker)
==3191==    by 0x804E9CE: _D3flb3gui8somewind13ACustomWindow4drawMFC3flb3gui7guibase13Idraw_contextZv (in
/home/fburton/lang/d/guigl/flb.gui.boxmaker)
==3191==    by 0x804DEA2: _D3flb3gui7guibase14window_manager4drawMFC3flb3gui7guibase13Idraw_contextZv (in
/home/fburton/lang/d/guigl/flb.gui.boxmaker)
==3191==    by 0x804D889: _D3flb3gui5glgui5GlGui3runMFZv (in /home/fburton/lang/d/guigl/flb.gui.boxmaker)
==3191==    by 0x804D8FB: _Dmain (in /home/fburton/lang/d/guigl/flb.gui.boxmaker)
==3191==    by 0x807C7E3: _D2rt8compiler3dmd2rt6dmain24mainUiPPaZi7runMainMFZv (in /home/fburton/lang/d/guigl/flb.gui.boxmaker)



More information about the Digitalmars-d-learn mailing list