• September 18, 2019, 02:45:42 PM
• Welcome, Guest. Please login or register.

The Future of this Forum:

The Inkscape Project opened its first official forum on its website this month (August 2019). https://inkscape.org/forums/ In an effort to combine all the different forums into one, this forum will no longer be accepting new members or new messages. However, it will remain open for a little while, for existing members, to have access to their contents, if they need them.

Any potential new members should register on the new forum, and post their message there. There is a special board for questions about using Inkscape for cutting machines (of all kinds). (https://inkscape.org/forums/cutplot/)

If you have any questions or comments (and you're an existing member) you can post them here.

Although I've been planning to put this forum in read-only mode, at the time of this transition, unfortunately, my personal circumstances have changed, and I won't be able to host this forum much longer. I'm not sure about the time frame. It could be as soon as the end of 2019, or as long as a year from now. If anyone is interested in taking it over, please contact me.

-- brynn


Tips to Avoid Performance Issues (Slow-downs, Freezing, Crashing, etc.)

Submitted By: brynn Date: August 17, 2015, 06:37:15 AM Views: 4314

Tips to Avoid Performance Issues (Slow-downs, Freezing, Crashing, etc.)

For the most part, Inkscape's performance depends on how much RAM your computer has.  While for some reason, the Inkscape developers have never released system requirements for using Inkscape, I can say from experience that 2 gb of RAM is about the lowest you can have, and still be able to use Inkscape for simple projects. 

Generally, I would say that with 2 gb RAM, you might see many of these performance issues in an SVG file as small as less than 1 mb.  With 4 gb RAM, I'm usually just starting to see these hints of performance issues when a file reaches about 1 mb.  For the rest, if you're using a filters in your SVG file, and a few other odd (and lesser used) features, Inkscape's performance relies on the computer's processors to display them.

But no matter how much RAM you may have, or how spectacular of a computer system you may have, it's always possible to find or create SVG files large enough to challenge your resources.

While you can still work in SVG files much larger than 1 mb, with only 2 to 4 gb RAM, you may need to be very careful about managing the file and what you ask Inkscape to do, to avoid a crash.  I should go ahead and say this early on.  When working with Inkscape, with 2 to 4 gb RAM, or really, with any amount of RAM, remember to save, save, save your work.  The larger the SVG file, the more often you should save  :wink1:

These things can increase the file size, and potentially create performance issues:
  • embedded images
  • certain filters or combinations of filters or the number of filters -- note that Blur is a very simple filter, but using a lot of it can still cause problems
  • certain Extensions or combinations of extensions or number of uses of extensions
  • large quantity of Nodes
  • a lot of gradients
  • extreme zooming, and any zooming in combination with the other things in this list
  • a large number of unused defs (excess and unneeded data in the file)
  • various combinations of the above

And here are some ways to either avoid these issues, or to continue working in a file, when you already have these issues.
  • The first thing you can do when you start to notice any of these issues, is to click File menu > Clean Up Document.  (Before version 0.91 it was File menu > Vacuum Defs.)  This will delete any data in the file that it not in use.  Especially if you're doing a lot of trial and error as part of your workflow, this data can accumulate, and slow down a file, even if there is very little content on the canvas.  If this doesn't help, or help enough, move on to the next things.
  • Divide your file into layers, and maybe even sublayers.  Then you can hide all the layers that you don't need at the moment.  Since Inkscape doesn't display hidden layers, it frees up resources for whatever you're working on.
  • If hiding layers won't work, because you still need to see them, as you continue to work, try this. 
    -- Temporarily hide the layers you're working on, and display all the others
    -- Select all
    -- Edit menu > Make a bitmap copy
    -- Move the new bitmap to a visible layer and hide the ones it's replacing
    -- Unhide the working layers
    -- When you're finished, don't forget to delete this bitmap copy
  • Use View menu > Display Mode > Outline.  This prevents Inkscape from displaying gradients, filters, embedded raster images, etc.
  • Use View menu > Display Mode > No Filters.  This prevents Inkscape from displaying filters only.
  • If you're using a computer with multiple cores/threads/processors (usually laptops) and have trouble with displaying filters, you can adjust some settings to better utilize the cores. 
    -- In version 0.91 and later, Inkscape Preferences > Rendering > Number of Threads.  Before 0.91, Inkscape Preferences > Filters > Number of Threads.
    -- On those same pages, you can change "Gaussian blur quality for display" and "Filter effects quality for display"
  • If you have a huge number of nodes, you might not need them, depending on the circumstances.  If not, you could try Path menu > Simplify, which potentially could drastically reduce the number of nodes. In certain situations though, it can distort the path, so just be ready to Undo, if the result is not acceptable.  Or it's possible to change the Simplification threshold, and have fewer nodes deleted at a time.
  • If you're using an embedded image as a reference, either delete it from the file as soon as you no longer need it, or move it to another layer where you can hide it.  Deleting would reduce the files size much more.
  • Avoid extreme zooming when possible, and zoom only as much as you need.  If I have to zoom, and I know it will take a long time, I've found that I can scroll over to an empty area of canvas, zoom to whatever level I need, then scroll back into the area where I need to work.  It's much faster than waiting, waiting, waiting, for Inkscape to reach a high zoom in a large file.

If you have any comments, please feel free to post them below.  Or if you have any questions, please post a message in the forum  :D


Rating: ***** by 1 members.


Original Member
Offline Offline

Gender: Female
Posts: 258

View Profile WWW Email
August 06, 2016, 07:29:15 AM
Thanks, Brynn. I've been using Inkscape for years and just learned some new tips!