all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: joakim@verona.se
To: Tassilo Horn <tassilo@member.fsf.org>
Cc: emacs-devel@gnu.org
Subject: Re: Using the ImageMagick backend seems to leak memory
Date: Tue, 11 Jan 2011 10:54:40 +0100	[thread overview]
Message-ID: <m31v4j3gv3.fsf@verona.se> (raw)
In-Reply-To: <m362tv3hqk.fsf@verona.se> (joakim@verona.se's message of "Tue, 11 Jan 2011 10:35:47 +0100")

joakim@verona.se writes:

> Tassilo Horn <tassilo@member.fsf.org> writes:
>
>> Hi all,
>>
>> this is driving me nuts.  I've already tried modifying
>> imagemagick_load_image() with some messages, and so that it always does
>> MagickWandGenesis() first and MagickWandTerminus() after destroying the
>> last MagickWand.  It does so, but that didn't help...
>>
>> One strangeness I found is the line
>>
>>     image_error ("im read failed", Qnil, Qnil);
>>
>> which is called unconditionally in imagemagick_load_image().  Why?
>
> Thats supposed to be an error condition exit only.
> Isnt there a return statement before?
>
> I havent yet tried to recreate your problem, but my experience when I
> worked on the patch was that I got memory issues when working with image
> bundle files.

I was able to recreate the problem now.

Ill try a newer IM and if it persists contact the IM team.

>
> Also the imagemagick team was very helpful in providing fixes in their
> code.
>
> Have you tried to install a development version of imagemagick?
>
>>
>> Anyway, that cannot be the culprit.
>>
>> Bye,
>> Tassilo

-- 
Joakim Verona



      parent reply	other threads:[~2011-01-11  9:54 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-01-06  7:51 Using the ImageMagick backend seems to leak memory Tassilo Horn
2011-01-06  9:02 ` joakim
2011-01-06 10:20   ` Tassilo Horn
2011-01-07  4:17 ` Jashy
2011-01-07  4:59   ` Miles Bader
2011-01-07  6:27     ` Stephen J. Turnbull
2011-01-07  7:25       ` Miles Bader
2011-01-07  8:28     ` Tassilo Horn
2011-01-07 22:39       ` Andreas Schwab
2011-01-10 10:34         ` Tassilo Horn
2011-01-10 13:28           ` Jashy
2011-01-10 13:56             ` Tassilo Horn
2011-01-10 14:36               ` Jashy
2011-01-11 10:14                 ` Jashy
2011-01-11 10:59           ` joakim
2011-01-11 14:17       ` joakim
2011-01-11 14:38         ` joakim
2011-01-11 17:43         ` Tassilo Horn
2011-01-11 18:11           ` joakim
2011-01-11 19:10             ` Tassilo Horn
2011-01-11 19:35               ` joakim
2011-01-11 19:55                 ` Tassilo Horn
2011-01-12  1:47               ` Stefan Monnier
2011-01-12  7:37                 ` Tassilo Horn
2011-01-10 21:47 ` Tassilo Horn
2011-01-11  8:47   ` Tassilo Horn
2011-01-11  9:35     ` joakim
2011-01-11  9:53       ` Tassilo Horn
2011-01-11  9:54       ` joakim [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m31v4j3gv3.fsf@verona.se \
    --to=joakim@verona.se \
    --cc=emacs-devel@gnu.org \
    --cc=tassilo@member.fsf.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.