Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

I just realized that I can start gimp (version 2.8) via

gimp -d

to reduce startup time on an old system.

Are there other tweaks to speed up the startup time of gimp and reduce memory usage?

share|improve this question
add comment

1 Answer

up vote 3 down vote accepted

When building GIMP from source, you can append -Os to CFLAGS to tell the compiler to optimize for space and not execution speed. This will cause a smaller memory footprint.

Another technique if you are running one program only, is to use static linking. Using static linking, a binary will embed its dependencies and may get smaller since it is known at compile time exactly which code fragments are reachable and which are not. Normally, libraries are built dynamically (.so files) and the compiler cannot know which features will later be used.

These techniques are unlikely to gain you any significant advantage though, since you are likely using the dependencies of GIMP in other programs at the same time (i.e. GTK+ 2). If that is the case, static linking will cause the memory usage to rise dramatically.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.