Bug#365661: [Pkg-dia-team] Bug#365661: Dia: massive memory leaking when moving UML objects

Roland Stigge stigge at antcom.de
Mon May 15 17:32:38 UTC 2006


tag 365661 moreinfo
thanks

Hi,

thanks for your report.

Lennert Van Alboom wrote:
> Creating UML schema's in Dia leaks badly when moving/resizing/creating objects; the current schema I've been working on lately used 600MB of ram + 1GB 
> of swap space after about 15 minutes of work. Quitting and restarting Dia frees the memory again.

Would you please elaborate a bit on reproducing this problem? Which kind
of objects are you using mainly? How can I provoke a memory fillup? (I
could only fill up a few MBs without being sure if it's leaked memory.)

e.g.:

  $ valgrind dia

after some UML drawing and moving around shows:

==7333== LEAK SUMMARY:
==7333==    definitely lost: 9,387 bytes in 136 blocks.
==7333==      possibly lost: 216,728 bytes in 263 blocks.
==7333==    still reachable: 22,362,517 bytes in 57,535 blocks.
==7333==         suppressed: 0 bytes in 0 blocks.

-> No real fillup, although some possible leaks.

Thanks,

Roland




More information about the Pkg-dia-team mailing list