Memory leak - select/deselect object
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Inkscape |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Hi,
I just found that memory leak also caused by select/deselect object.
1. Draw a spiral
2. select the spiral
3. now click on any area in inkscape (i.e. deselect the object)
I have created one tool that will gives me physical memory used by the application. Here is the log.
Total Ram Application Percentage
2027152kB 77644kB 3.830%
2027152kB 77644kB 3.830%
2027152kB 77656kB 3.831%
2027152kB 77656kB 3.831%
2027152kB 77680kB 3.832%
2027152kB 85976kB 4.241%
2027152kB 86748kB 4.279%
2027152kB 86764kB 4.280%
2027152kB 86764kB 4.280%
2027152kB 86764kB 4.280%
2027152kB 86772kB 4.280%
2027152kB 86772kB 4.280%
2027152kB 86772kB 4.280%
2027152kB 86772kB 4.280%
2027152kB 86772kB 4.280%
2027152kB 86776kB 4.281%
2027152kB 86776kB 4.281%
2027152kB 86776kB 4.281%
2027152kB 86776kB 4.281%
2027152kB 86776kB 4.281%
2027152kB 86776kB 4.281%
2027152kB 86776kB 4.281%
2027152kB 86780kB 4.281%
2027152kB 86784kB 4.281%
2027152kB 86784kB 4.281%
2027152kB 86788kB 4.281%
2027152kB 86788kB 4.281%
2027152kB 86788kB 4.281%
2027152kB 86792kB 4.281%
2027152kB 86792kB 4.281%
2027152kB 86792kB 4.281%
2027152kB 86792kB 4.281%
2027152kB 86792kB 4.281%
2027152kB 86800kB 4.282%
2027152kB 86844kB 4.284%
2027152kB 86844kB 4.284%
2027152kB 86844kB 4.284%
2027152kB 86848kB 4.284%
2027152kB 86848kB 4.284%
2027152kB 86848kB 4.284%
2027152kB 86848kB 4.284%
2027152kB 86848kB 4.284%
2027152kB 86852kB 4.284%
2027152kB 86856kB 4.285%
2027152kB 86856kB 4.285%
2027152kB 86868kB 4.285%
2027152kB 86868kB 4.285%
2027152kB 86872kB 4.285%
2027152kB 86872kB 4.285%
2027152kB 86876kB 4.286%
2027152kB 86880kB 4.286%
2027152kB 86880kB 4.286%
2027152kB 86888kB 4.286%
2027152kB 86888kB 4.286%
2027152kB 86888kB 4.286%
2027152kB 86888kB 4.286%
2027152kB 86888kB 4.286%
2027152kB 86888kB 4.286%
2027152kB 86892kB 4.286%
2027152kB 86892kB 4.286%
2027152kB 86892kB 4.286%
2027152kB 86892kB 4.286%
2027152kB 86896kB 4.287%
2027152kB 86904kB 4.287%
2027152kB 86904kB 4.287%
2027152kB 86904kB 4.287%
2027152kB 86904kB 4.287%
2027152kB 86904kB 4.287%
2027152kB 86944kB 4.289%
2027152kB 86948kB 4.289%
2027152kB 86948kB 4.289%
I just did the step mentioned above and it leaks 4KB memory when i do the same exercise.
Thanks.
tags: | added: bug-migration |
Ok. I found out.
I open the inkscape and I also open my 'memwatch' application. I did the following thing.
1. select text object
2. add text again and again and memory keeps increasing.
So it is something about everytime inkscape create new tspan for the text object? why memory increase with simple adding text to the text object?
Will debug in further details and gives you more information.
Thanks.