Inkscape.org
Beyond the Basics Start inkscape lightweight - minimal memory footprint
  1. #1
    7jfosqo5 7jfosqo5 @7jfosqo5
    *

    Is there any way to tell inkscape to limit it's memory footprint on startup? I have over a hunderad of .svg files each containing a large (4k) image. I need to make small edits to each one of them, however after opening the 50th or so file the machine (windows 11) runs out of memory and "undefined behaviors" start to take place. Each such inkscape instance that loaded this image takes up about 600MB of memory. Both in a single process or started separately with --app-id-tag.

    However, not all of these inkscape instances need to load everything at any one time? Perhaps they could start with outline images? Or perhaps there are other ways to limit their footprint on startup (ideally via some clever command line options?). I was hoping for windows virtual memory to shrink them automatically, but it's not happening.

  2. #2
    Tyler Durden Tyler Durden @TylerDurden

    So we understand clearly, each svg is opened, edited and closed separately, and Inkscape progressively bogs down as the sequence is repeated? 

  3. #3
    7jfosqo5 7jfosqo5 @7jfosqo5
    *

    @TylerDurden yes, exactly. I'm opening them from command line slowly with 5 seconds delay between each instance and after about 50th instance windows 11 breaks due to lack of memory. I couldn't find any mechanism on windows to "hibernate a process to disk", so I was hoping for something available of this kind provided by inkscape?

     

Inkscape Inkscape.org Inkscape Forum Beyond the Basics Start inkscape lightweight - minimal memory footprint