On Mon, Nov 15, 1999 at 03:29:39PM -0700, Greg Walters <[EMAIL PROTECTED]> 
wrote:
> > How do you delete the image? I *know* that $image->delete sufficed to delete
> > an image totally, but this was some months ago.
> 
> That is what I essentially did using the gimp_image_new() and
> gimp_image_delete() subroutines.
> 
> > (ps: gimp-1.0 has various but rather small memory leaks so after millions
> > of operations your perl-server and the gimp will grow by a few megabytes.
> > This does not affect image deletion, however).
> 
> This must be what I am seeing (as we are running gimp-1.0.4).

I don't think so, as you would not see superflous layers! you must be
hitting something larger. It *might* be possible that you would have to
delete all layers first in 1.0 (but I can't really remember ;)

> in a cron (weekly or so) to kill Gimp and the Perl server and then
> restart them just to keep things under control.

... which is a sensible thing to do anyway. gimp was not really tested
under this kind of conditions (not being a mere library).

And, while I plugged all the memleaks I found in 1.0, 1.2 might just
introduce new ones ;)

-- 
      -----==-                                             |
      ----==-- _                                           |
      ---==---(_)__  __ ____  __       Marc Lehmann      +--
      --==---/ / _ \/ // /\ \/ /       [EMAIL PROTECTED] |e|
      -=====/_/_//_/\_,_/ /_/\_\       XX11-RIPE         --+
    The choice of a GNU generation                       |
                                                         |

Reply via email to