Post Reply 

Huge memory leak in gimp

Oct 16, 2011, 04:12
Post: #1
Huge memory leak in gimp
I don't know if I'm setting something wrong, but whenever I use gimp for a long time the memory usage eventually rises to the max, and not even closing gimp frees it. The process that grows is Xorg. Only a logout reset of X will free it. This is kind of annoying. Sometimes I kept going and X just crashed after swap got full. I googled and couldn't find anything too specific to this. The only less common scenario I might be using is a wacom tablet. I've reset the memory usage settings in gimp various times and tried different settings. Nothing helped. Anyone else seen this?

Either way, what's the best place to report bugs to the developers, if any?
Find all posts by this user
Quote this message in a reply
Oct 16, 2011, 08:31
Post: #2
RE: Huge memory leak in gimp
(Oct 16, 2011 04:12)electrick Wrote:  I don't know if I'm setting something wrong, but whenever I use gimp for a long time the memory usage eventually rises to the max, and not even closing gimp frees it. The process that grows is Xorg. Only a logout reset of X will free it. This is kind of annoying. Sometimes I kept going and X just crashed after swap got full. I googled and couldn't find anything too specific to this. The only less common scenario I might be using is a wacom tablet. I've reset the memory usage settings in gimp various times and tried different settings. Nothing helped. Anyone else seen this?

Either way, what's the best place to report bugs to the developers, if any?
When you say "not even closing gimp frees it. The process that grows is Xorg.", you are telling that the memory leak isn't in Gimp. I assume you are using OSX? Xorg is the graphical interface in Unix systems. OSX is at the core a Unix system, and even though it has its own graphical interface, they left a rather ancient implementation of X that some Unix-originated programs such as Gimp still use. But one of our resident OSX specialists can likely tell you more.

Now answering your questions on
https://Gimp-Forum.net
Visit this user's website Find all posts by this user
Quote this message in a reply
Oct 16, 2011, 09:07 (This post was last modified: Oct 16, 2011 09:11 by electrick.)
Post: #3
RE: Huge memory leak in gimp
No, I am using linux. The reason I say gimp is the cause is because this doesn't ever happen with anything but gimp. Not with large opengl games, not with video, nothing. I only occasionally use gimp, but when I do, this happens, and other than with gimp, never. This might be some recent regression of some sort, because I don't remember it ever happening before. I'm using fedora 15 x86_64.

It could be a bug in xorg triggered by gimp. Either way, something's going wrong. I even tried 2.7.3 but it's the same result.
Find all posts by this user
Quote this message in a reply
Oct 16, 2011, 10:45
Post: #4
RE: Huge memory leak in gimp
I use Ubuntu 32-bit and don't experience this. This question may have more informed answers in a Linux forum. Since it's a Linux version telling them how you built/installed Gimp may help (rpm? tarball?)

Now answering your questions on
https://Gimp-Forum.net
Visit this user's website Find all posts by this user
Quote this message in a reply
Oct 16, 2011, 12:04
Post: #5
RE: Huge memory leak in gimp
I already tried that some time ago in a fedora specific forum and just got the typical dismissal. I'm suspecting it's Xorg fedora specific, maybe related to wacom but there will never be any fix in this version. Thanks for trying to help though.
Find all posts by this user
Quote this message in a reply
Oct 16, 2011, 13:33
Post: #6
RE: Huge memory leak in gimp
You can file a bug against Gimp (bugzilla.gnome.org, IIRC) and see fi you get an answer.

Now answering your questions on
https://Gimp-Forum.net
Visit this user's website Find all posts by this user
Quote this message in a reply
Oct 5, 2012, 08:00
Post: #7
RE: Huge memory leak in gimp
Unfortunately, this is not fedora-related bug. I experience this issue for last two years on x86_64 regardless of XOrg version (tried versions from 1.8.x to 1.12.4). GIMP versions were from 2.6.11 to 2.8.2, using any of them leads to huge memory leak in XOrg (for example, X process may occupy 3Gb after one day of active work in GIMP).
Find all posts by this user
Quote this message in a reply
Oct 5, 2012, 11:51
Post: #8
RE: Huge memory leak in gimp
(Oct 5, 2012 08:00)aix27249 Wrote:  Unfortunately, this is not fedora-related bug. I experience this issue for last two years on x86_64 regardless of XOrg version (tried versions from 1.8.x to 1.12.4). GIMP versions were from 2.6.11 to 2.8.2, using any of them leads to huge memory leak in XOrg (for example, X process may occupy 3Gb after one day of active work in GIMP).
Who said it was fedora-related? But one thing I know is that if it is not reported then it won't likely be fixed.

Now answering your questions on
https://Gimp-Forum.net
Visit this user's website Find all posts by this user
Quote this message in a reply
Oct 5, 2012, 12:39
Post: #9
RE: Huge memory leak in gimp
I just wanted to mention that bug still exists, and present in other places than topic starter reported above.

I'll try to investigate it deeper and report to bugzilla when I'll have at least clear scheme to reproduce.
Find all posts by this user
Quote this message in a reply
Post Reply 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  embedding icm profile in a psd generated by gimp Richar_d 1 64 Oct 13, 2017 12:00
Last Post: paynekj
  Gimp GUI icons missed massimobarbieri 1 210 Aug 23, 2017 17:51
Last Post: ofnuts
  why gimp in mac has bad performance mcheung63 1 203 Aug 20, 2017 10:13
Last Post: ythgilb
  Issue viewing GIMP-modified picture JuniorPear 1 285 Jul 6, 2017 05:03
Last Post: ythgilb
  GIMP Taking Too Long to Start (Fonts) Seta 2 338 Jun 20, 2017 16:10
Last Post: Seta

Forum Jump:


GIMP ForumPortalArchiveContactTermsRSS