Inkscape high cpu usage

Bug #1019147 reported by suresh
16
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Inkscape
Invalid
Undecided
Unassigned
inkscape (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

Hello All,

I just installed a fresh copy of inkscape on Ubuntu 10.04 LTS via synaptic package manager on core i7 processor, When i try to open a medium size file (arround 1.3 MB) or a dxf/dwg file, inkscape takes 100% CPU. when i draw a simple rectangle or circle and apply hatch fill then also inkscape takes 100% cpu.

Before it was the same problem on my dual core system so i just upgard my system but still there is a problem of high cpu.

can you please let me know what should i do?

Revision history for this message
ScislaC (scislac) wrote :

Did you intend to put 10.04 LTS (which support ends for in less than a year) or was it actually 12.04 LTS?

Revision history for this message
suresh (suresh-meetsme) wrote :

But that's not OS specific. I cross compiled Inkscape for ARM platform and ported to the ARM board with only X11 process running, but still it takes 100% cpu when i try to move drawing on dc. I don't know why it takes 100% CPU in any OS.

However If i set outline mode of drawing, it works perfectly fine on both the system.

please let me know if you require any further information.

Revision history for this message
ScislaC (scislac) wrote :

It's processing something (albeit, probably inefficiently). However, if you could try compiling from inkscape trunk it may help us track down your issue. We have replaced the renderer in trunk and it may be up to par for you now.

Revision history for this message
su_v (suv-lp) wrote :

> I just installed a fresh copy of inkscape on Ubuntu 10.04 LTS via
> synaptic package manage

Which version is available for Ubuntu 10.04? (see Inkscape menu 'Help > About Inkscape')

> However If i set outline mode of drawing, it works perfectly fine on
> both the system.

Does hiding the status bar (and possibly also the rulers) improve performance in normal view mode?
Hint: you can show/hide individual components of the GUI via menu 'View > Show / Hide'.

Revision history for this message
suresh (suresh-meetsme) wrote :

Hi,

attached, please find the inkscape version screen shots. I am using 0.48.1. Further I will give a try to latest trunk and let you guys know the feedback.

Revision history for this message
suresh (suresh-meetsme) wrote :

hidding status bar and other panel doesn't help anymore.

Revision history for this message
suresh (suresh-meetsme) wrote :

Hi,

I installed the inkscape latest trunk via PPA, but still it has not resolved rendering problem. Could you please let me know the svn link of latest trunk, so that i can get the latest development trunk and build it from scratch.

As I have to port it to ARM platform, So it will be great if you can provide me a link of latest svn trunk.

Revision history for this message
su_v (suv-lp) wrote :

<off-topic>
> Could you please let me know the svn link of latest trunk

Inkscape no longer uses SVN - current trunk uses BZR and is hosted here at launchpad (you can easily find the sources following the links on inkscape's main page here at launchpad: <https://launchpad.net/inkscape>).

If that doesn't help you: here's the page on inkscape.org about getting the current sources:
<http://inkscape.org/bzr.php?lang=en>
<off-topic>

Revision history for this message
su_v (suv-lp) wrote :

> I just installed a fresh copy of inkscape on Ubuntu 10.04 LTS

Note that Lucid is no longer supported for Inkscape trunk (too many outdated versions of required dependencies).
<http://wiki.inkscape.org/wiki/index.php/Tracking_Dependencies#Distros>

Revision history for this message
su_v (suv-lp) wrote :

There are daily snapshot builds offered for Lucid by Cafuego:
<https://launchpad.net/~cafuego/+archive/inkscape>
which include newer versions of at least gtk2, cairo, cairomm, and are built with a patched version of GCC.

Revision history for this message
su_v (suv-lp) wrote :

> There are daily snapshot builds offered for Lucid by Cafuego:

These daily builds for Lucid will probably stop once Bug #1020494 "Drop GTK+ 2.20 support" has been resolved.

su_v (suv-lp)
tags: added: performance
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in inkscape (Ubuntu):
status: New → Confirmed
Revision history for this message
suresh (suresh-meetsme) wrote :

Hello Suv,

I have tried 0.84.4 on Ubuntu 10.04 as well as Ubuntu 12.0. but the problem still remains the same.

Actually I have noticed one thing, when I create any Object (text, circle, spiral, star) inkscape memory usage growing, Its grow as I create new object on screen, but It supposed to release the memory when i delete the object from the screen, but it is now happening.

Normally I am working with the text object with Hatch (via eggbot extension), so for my work purpose I suppose to edit too much text in a single day. All in all everytime I have to create an object and I have to delete the same, but when I delete the object it is not releasing the memory.

I have explore the Gtk GObject details as well I have learned how ref count as GC works, I have also tried to debug the code as well as also applied patch and tried new revision and latest ppa build, But I found the same memory issue.

So I think It is now with the particular file type, It is with the Object. As per my knowledge of programming Memory must be release when no longer needed.

I am using InkScape in my daily Job Work, but I have to quit and re open when It suppose to eat max. memory.

Please let me know If you require further details, I can gives you maximum information as per my testing. I know little bit of Programming and I have in great knowledge of how to use Gdb and Valgrind, I can give you max. information to get it working.
.
Can you please guide me which part is taking more memory or leaking memory? Perhaps I can help you in better way.

Is there any patch exists for 0.84.4 version, I can test it and give my feedback on both Ubuntu 10.04 and 12.

Thanks.

Revision history for this message
Beluga (buovjaga) wrote :

What is the situation with Ubuntu 16.04 and the latest Inkscape?

Changed in inkscape:
status: New → Incomplete
Mattia Rizzolo (mapreri)
Changed in inkscape (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Qantas94Heavy (qantas94heavy) wrote :

Closing as there has been no response for 30 days. If you still have a similar issue with the latest Inkscape version, please go to https://inkscape.org/report. Thank you!

Closed by: https://gitlab.com/Qantas94Heavy

Changed in inkscape:
status: Incomplete → Invalid
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for inkscape (Ubuntu) because there has been no activity for 60 days.]

Changed in inkscape (Ubuntu):
status: Incomplete → Expired
tbnorth (terry-n-brown)
tags: added: bug-migration
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Related questions

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.