Huge discrepancy in Inkscape file size
- by Keyran
When using Inkscape to create many pictures with common elements across them, I tend to copy the first SVG file I have created as many times as I need pictures, and then edit the copies. If I reuse files across projects, it can result in a file being copied and modified tens to hundreds of files.
I have recently realized that the latest copies have a size between 29 and 60 MB, slowing my computer down significatively. My pictures are very simple, nothing that would normally go over 1 MB in size.
As an experiment, I copied the entire content of one of the latest files into a new Inkscape file. I am certain that I have copied the content of the file entirely (I have only one layer and I used the "Select All" option). The new file has a size of 102,2 KB. This would indicate that about 30 MB of data per file is irrelevant to me.
What could be the cause of this size difference ? Is there a way to reduce the size of a file without having to copy the content into a new file ?
I am using Inkscape 0.48.4 on Debian Unstable.
Thanks for any input you might be able to provide !