Hi,

On Thu, 2008-05-01 at 00:06 -0400, Kevin Cozens wrote:

> Andrei may not have isolated the leak to one or two PDB calls but he has 
> provided a script which shows the growing memory usage problem. My tests 
> appear to show GIMP's memory usage growing even from running a Script-Fu logo 
> script. The ps command reports increasing numbers for VSZ and RSS after each 
> time a logo script is run even after the display window closed.

Looking at the output of ps is not a suitable way to detect a memory
leak. The main reason is that both libc and glib are using memory pools.
You should really use valgrind or some other memory debugger. And you
should set the environment variable GSLICE to always-malloc when you are
doing that.


Sven


_______________________________________________
Gimp-developer mailing list
Gimp-developer@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer

Reply via email to