Discussion:
[Inkscape-user] Memory
Ezequias Rodrigues da Rocha
2005-09-26 15:48:12 UTC
Permalink
Hi list,

I noticed that my inkscape is too slow with a AMD 1.2, Win98 256Mb memory.

This configuration is ok ?

On Pentium 4 512Mb memory is quite diferent.

Any suggestion to customize inkscape to make it better ?

Ezequias
Adib Taraben
2005-09-26 16:31:55 UTC
Permalink
Post by Ezequias Rodrigues da Rocha
Hi list,
I noticed that my inkscape is too slow with a AMD 1.2, Win98 256Mb memory.
This configuration is ok ?
On Pentium 4 512Mb memory is quite diferent.
Any suggestion to customize inkscape to make it better ?
Ezequias
You use the installer from SF ?
If yes , there is not much to do. They are stripped from debuginfo and I
feel they behave faster .

Adib.
----
Ezequias Rodrigues da Rocha
2005-09-26 16:52:32 UTC
Permalink
Yes
Post by Adib Taraben
Post by Ezequias Rodrigues da Rocha
Hi list,
I noticed that my inkscape is too slow with a AMD 1.2, Win98 256Mb memory.
This configuration is ok ?
On Pentium 4 512Mb memory is quite diferent.
Any suggestion to customize inkscape to make it better ?
Ezequias
You use the installer from SF ?
If yes , there is not much to do. They are stripped from debuginfo and
I feel they behave faster .
Adib.
----
-------------------------------------------------------
Tame your development challenges with Apache's Geronimo App Server.
Download it for free - -and be entered to win a 42" plasma tv or your
very
own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
Inkscape-user mailing list
https://lists.sourceforge.net/lists/listinfo/inkscape-user
Bryce Harrington
2005-09-26 18:29:59 UTC
Permalink
Post by Ezequias Rodrigues da Rocha
Hi list,
I noticed that my inkscape is too slow with a AMD 1.2, Win98 256Mb memory.
This configuration is ok ?
No, Inkscape will run in that configuration but it requires several
hundred megs of memory in practice, so with less than about 512M in your
system, Inkscape will cause your system to swap to disk a lot, which
will give you very poor performance.
Post by Ezequias Rodrigues da Rocha
On Pentium 4 512Mb memory is quite diferent.
Any suggestion to customize inkscape to make it better ?
I don't know if there are any tunable parameters to make it run better
in low memory configurations, but if you absolutely must have this, you
may want to try an earlier version, such as Inkscape 0.35, which may
have less advanced memory demands.

Bryce
Ezequias Rodrigues da Rocha
2005-09-26 18:45:42 UTC
Permalink
So there isn't other option ? Just by more 256Mb memory ?

I don't think Corel Draw have this need of memory. I know inkscape is
just a boy next CorelDraw isn't ?

I do not accept Inkscape need more than 256Mb memory just to draw easy
drawings.

Sincerley
Ezequias
Post by Bryce Harrington
Post by Ezequias Rodrigues da Rocha
Hi list,
I noticed that my inkscape is too slow with a AMD 1.2, Win98 256Mb memory.
This configuration is ok ?
No, Inkscape will run in that configuration but it requires several
hundred megs of memory in practice, so with less than about 512M in your
system, Inkscape will cause your system to swap to disk a lot, which
will give you very poor performance.
Post by Ezequias Rodrigues da Rocha
On Pentium 4 512Mb memory is quite diferent.
Any suggestion to customize inkscape to make it better ?
I don't know if there are any tunable parameters to make it run better
in low memory configurations, but if you absolutely must have this, you
may want to try an earlier version, such as Inkscape 0.35, which may
have less advanced memory demands.
Bryce
-------------------------------------------------------
Tame your development challenges with Apache's Geronimo App Server.
Download it for free - -and be entered to win a 42" plasma tv or your very
own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
Inkscape-user mailing list
https://lists.sourceforge.net/lists/listinfo/inkscape-user
Bryce Harrington
2005-09-26 19:50:19 UTC
Permalink
Post by Ezequias Rodrigues da Rocha
So there isn't other option ? Just by more 256Mb memory ?
Buying more memory is probably the best solution, if your system
will support more.
Post by Ezequias Rodrigues da Rocha
I don't think Corel Draw have this need of memory. I know inkscape is
just a boy next CorelDraw isn't ?
The need for the memory is due to the way Inkscape _manages_ memory.
This is so it has space for garbage collection, a huge undo buffer, and
so forth. It is an optimization for people working on larger, more
complex drawings rather than simple things. It would be nice if this
were tunable but it wasn't implemented that way.

As you know, life usually involves making tradeoffs. For software, you
often are faced with deciding between more powerful features and heavier
memory/cpu usage. Often you can optimize to do the same thing with less
memory and cpu, but optimization work can be very hard and time
consuming, which means sacrificing feature and bug fixing work for small
improvements.

As an example, consider localization. As you know, Inkscape has worked
very very hard over the past year to add better support for other
languages, to enable speakers of non-English languages to be able to use
Inkscape. This requires changing internal variable types from simple
char's to unicode variables; these take up several times the memory
because they are representing a wider variety of character types. A
char takes up 1 byte, whereas a unicode (UTF-8) character uses up to 4
bytes each. Localization is not the only cause in the need for large
amounts of memory, but it is one example to show where the memory is
being used. As I think you would agree, for an open source project like
Inkscape it is important that we support speakers of other languages;
this is an important feature and well worth it's memory tradeoff.

It's possible that with some tricks we could find ways to achieve this
without such heavy memory use. However, these days a system with only
256M memory is going to be pretty limited even aside from Inkscape.
Running KDE or Gnome on Linux also is very poor at less than 512M.
I imagine Windows XP is similarly demanding of memory.
Post by Ezequias Rodrigues da Rocha
I do not accept Inkscape need more than 256Mb memory just to draw easy
drawings.
Then here are several things you can do.

First, look into the memory usage in the code. For example, perhaps you
could reduce the number of steps of undo, or change the settings in the
memory manager to be a bit more tight with its usage. One of the
developers might be willing to give you pointer to where these are
defined in the codebase.

Second, if you can code, you should add a commandline option to cause
inkscape to run in a memory-lite fashion, using those tunings.

Third, it would be useful to identify where the memory is being used,
and by how much. This would be useful info for future developers to
identify where optimization would be most fruitful.

If you do not code or don't wish to help improve Inkscape's memory
tuning capabilities, then perhaps you can find another program that
works better on your system. As I mentioned, maybe an older version of
Inkscape would be better. There are also other drawing apps that may
have lighter memory usage but still have the features you need.

Bryce
Kuswanto
2005-09-27 00:12:43 UTC
Permalink
Post by Ezequias Rodrigues da Rocha
I do not accept Inkscape need more than 256Mb memory just to draw easy
drawings.
Sometimes i work on my icons in my old Pentium III with 128 RAM notebook
(Linux). I use Inkscape 0.42, inkscape performance does well. Inkscape
is still useable to do simple/small drawing with memory less than 512.
--
Kuswanto
-----------------------
http://www.zeusbox.org
R. Alan Monroe
2005-09-27 00:46:33 UTC
Permalink
Post by Ezequias Rodrigues da Rocha
I noticed that my inkscape is too slow with a AMD 1.2, Win98 256Mb memory.
It could be GTK is the source of a lot of the slowness, and not
Inkscape specifically.

Alan

Continue reading on narkive:
Loading...