Comment 3 for bug 986271

Revision history for this message
David Mathog (mathog) wrote :

Here is another issue, possibly related:

1. Start Inkscape ("new document", nothing in it). Size: 58.9M
2. Minimize the window. Size: 3.6M
3. Restore the window: 9.6M <------ 50M less!!!!
4. Import a 1280 x 1024 PNG (size about 5M in RGBA format). Size; 43M
5. Minimize the widnow. Size 5.5M
6. Restore the window. 11.5M <----31.5M less!!!
7. Select the image and delete it. Size 18.3M
8. Minimize the window. Size: 2.8M
9. Restore the window. Size: 13.7M

This was again on XP with Trunk, but 0.48.2 seems to do the same things.

There is some really strange stuff going on here. Why would importing one image add ~34M to the used memory? Should be 5M for an RGBA (assuming one is kept around) and around 300K for the PNG encoded base64 version in the XML. What
about the other 29M?