GNU bug report logs -
#33561
ImageMagick: excessive memory usage for djvu attachment
Previous Next
Reported by: Uwe Brauer <oub <at> mat.ucm.es>
Date: Sat, 1 Dec 2018 09:12:01 UTC
Severity: normal
Tags: moreinfo
Merged with 33560
Found in version 5.13
Done: Lars Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 33561 in the body.
You can then email your comments to 33561 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-gnu-emacs <at> gnu.org, bugs <at> gnus.org
:
bug#33561
; Package
emacs,gnus
.
(Sat, 01 Dec 2018 09:12:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Uwe Brauer <oub <at> mat.ucm.es>
:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org, bugs <at> gnus.org
.
(Sat, 01 Dec 2018 09:12:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
Hi
I tried to open a msg which contained an attachment of 3.9 MB, my system
with 8 GB got almost frozen and
#!/usr/bin/python
# -*- coding: utf-8 -*-
import re
import sys
from ps_mem import main
if __name__ == '__main__':
sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0])
sys.exit(main())
Told me
rivate + Shared = RAM used Program
6.6 GiB + 343.5 KiB = 6.6 GiB emacs-27.0.50
This cannot be good.
Gnus v5.13
GNU Emacs 27.0.50 (build 1, x86_64-pc-linux-gnu, X toolkit, Xaw3d scroll bars)
of 2018-04-26
200 news.gmane.org InterNetNews NNRP server INN 2.5.4 ready (posting ok)
100 Legal commands
ARTICLE [message-ID|number]
AUTHINFO USER name|PASS password|SASL mechanism [initial-response]|GENERIC program [argument ...]
BODY [message-ID|number]
CAPABILITIES [keyword]
DATE
GROUP newsgroup
HDR header [message-ID|range]
HEAD [message-ID|number]
HELP
IHAVE message-ID
LAST
LIST [ACTIVE [wildmat]|ACTIVE.TIMES [wildmat]|COUNTS [wildmat]|DISTRIB.PATS|DISTRIBUTIONS|HEADERS [MSGID|RANGE]|MODERATORS|MOTD|NEWSGROUPS [wildmat]|OVERVIEW.FMT|SUBSCRIPTIONS [wildmat]]
LISTGROUP [newsgroup [range]]
MODE READER
NEWGROUPS [yy]yymmdd hhmmss [GMT]
NEWNEWS wildmat [yy]yymmdd hhmmss [GMT]
NEXT
OVER [range]
POST
QUIT
STARTTLS
STAT [message-ID|number]
XGTITLE [wildmat]
XHDR header [message-ID|range]
XOVER [range]
XPAT header message-ID|range pattern [pattern ...]
Report problems to <usenet <at> blaine.gmane.org>.
.
382 Begin TLS negotiation now
100 Legal commands
ARTICLE [message-ID|number]
AUTHINFO USER name|PASS password|SASL mechanism [initial-response]|GENERIC program [argument ...]
BODY [message-ID|number]
CAPABILITIES [keyword]
DATE
GROUP newsgroup
HDR header [message-ID|range]
HEAD [message-ID|number]
HELP
IHAVE message-ID
LAST
LIST [ACTIVE [wildmat]|ACTIVE.TIMES [wildmat]|COUNTS [wildmat]|DISTRIB.PATS|DISTRIBUTIONS|HEADERS [MSGID|RANGE]|MODERATORS|MOTD|NEWSGROUPS [wildmat]|OVERVIEW.FMT|SUBSCRIPTIONS [wildmat]]
LISTGROUP [newsgroup [range]]
MODE READER
NEWGROUPS [yy]yymmdd hhmmss [GMT]
NEWNEWS wildmat [yy]yymmdd hhmmss [GMT]
NEXT
OVER [range]
POST
QUIT
STARTTLS
STAT [message-ID|number]
XGTITLE [wildmat]
XHDR header [message-ID|range]
XOVER [range]
XPAT header message-ID|range pattern [pattern ...]
Report problems to <usenet <at> blaine.gmane.org>.
.
Information forwarded
to
bug-gnu-emacs <at> gnu.org, bugs <at> gnus.org
:
bug#33561
; Package
emacs,gnus
.
(Sat, 01 Dec 2018 09:49:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 33561 <at> debbugs.gnu.org (full text, mbox):
> From: Uwe Brauer <oub <at> mat.ucm.es>
> Date: Sat, 01 Dec 2018 10:11:46 +0100
>
> I tried to open a msg which contained an attachment of 3.9 MB, my system
> with 8 GB got almost frozen and
> #!/usr/bin/python
>
> # -*- coding: utf-8 -*-
> import re
> import sys
>
> from ps_mem import main
>
> if __name__ == '__main__':
> sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0])
> sys.exit(main())
>
> Told me
> rivate + Shared = RAM used Program
>
> 6.6 GiB + 343.5 KiB = 6.6 GiB emacs-27.0.50
>
> This cannot be good.
What kind of content was in the attachment? I don't see how we could
look into this issue without knowing at least that much.
Information forwarded
to
bug-gnu-emacs <at> gnu.org, bugs <at> gnus.org
:
bug#33561
; Package
emacs,gnus
.
(Sat, 01 Dec 2018 13:56:01 GMT)
Full text and
rfc822 format available.
Message #11 received at 33561 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
> What kind of content was in the attachment? I don't see how we could
> look into this issue without knowing at least that much.
A djvu file the attachment looks like this
[4. Book-title.djvu --- image/vnd.djvu; Book-title.djvu.djvu]...
[smime.p7s (application/pkcs7-signature, attachment)]
Information forwarded
to
bug-gnu-emacs <at> gnu.org, bugs <at> gnus.org
:
bug#33561
; Package
emacs,gnus
.
(Sat, 01 Dec 2018 14:52:02 GMT)
Full text and
rfc822 format available.
Message #14 received at 33561 <at> debbugs.gnu.org (full text, mbox):
> From: Uwe Brauer <oub <at> mat.ucm.es>
> Cc: Uwe Brauer <oub <at> mat.ucm.es>, 33561 <at> debbugs.gnu.org
> Date: Sat, 01 Dec 2018 14:55:12 +0100
>
> > What kind of content was in the attachment? I don't see how we could
> > look into this issue without knowing at least that much.
>
> A djvu file the attachment looks like this
Then I think it's a problem with ImageMagick. Emacs cannot view these
files except via ImageMagick, AFAIK. Perhaps try to upgrade your
ImageMagick version.
Information forwarded
to
bug-gnu-emacs <at> gnu.org, bugs <at> gnus.org
:
bug#33561
; Package
emacs,gnus
.
(Sat, 01 Dec 2018 15:42:02 GMT)
Full text and
rfc822 format available.
Message #17 received at 33561 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
>>> "Eli" == Eli Zaretskii <eliz <at> gnu.org> writes:
>> From: Uwe Brauer <oub <at> mat.ucm.es>
>> Cc: Uwe Brauer <oub <at> mat.ucm.es>, 33561 <at> debbugs.gnu.org
>> Date: Sat, 01 Dec 2018 14:55:12 +0100
>>
>> > What kind of content was in the attachment? I don't see how we could
>> > look into this issue without knowing at least that much.
>>
>> A djvu file the attachment looks like this
> Then I think it's a problem with ImageMagick. Emacs cannot view these
> files except via ImageMagick, AFAIK. Perhaps try to upgrade your
> ImageMagick version.
I tried that, not really possible on my Ubuntu version.
Can't I just tell emacs, not to view/open the attachment?
[smime.p7s (application/pkcs7-signature, attachment)]
Information forwarded
to
bug-gnu-emacs <at> gnu.org, bugs <at> gnus.org
:
bug#33561
; Package
emacs,gnus
.
(Sat, 01 Dec 2018 15:54:01 GMT)
Full text and
rfc822 format available.
Message #20 received at 33561 <at> debbugs.gnu.org (full text, mbox):
> From: Uwe Brauer <oub <at> mat.ucm.es>
> Cc: Uwe Brauer <oub <at> mat.ucm.es>, 33561 <at> debbugs.gnu.org
> Date: Sat, 01 Dec 2018 16:41:00 +0100
>
> Can't I just tell emacs, not to view/open the attachment?
I'm sure you can, but someone else will have to tell you how (or maybe
you could look it up in the manual). I don't use Gnus.
Information forwarded
to
bug-gnu-emacs <at> gnu.org, bugs <at> gnus.org
:
bug#33561
; Package
emacs,gnus
.
(Sat, 01 Dec 2018 16:12:01 GMT)
Full text and
rfc822 format available.
Message #23 received at 33561 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
>>> "Eli" == Eli Zaretskii <eliz <at> gnu.org> writes:
>> From: Uwe Brauer <oub <at> mat.ucm.es>
>> Cc: Uwe Brauer <oub <at> mat.ucm.es>, 33561 <at> debbugs.gnu.org
>> Date: Sat, 01 Dec 2018 16:41:00 +0100
>>
>> Can't I just tell emacs, not to view/open the attachment?
> I'm sure you can, but someone else will have to tell you how (or maybe
> you could look it up in the manual). I don't use Gnus.
Hm, I just asked on the gnus mailing list, @Lars any ideas about this
strange behavior?
[smime.p7s (application/pkcs7-signature, attachment)]
Changed bug title to 'ImageMagick: excessive memory usage for djvu attachment' from 'when opening a msg with a 4 MB attachment emacs (master) consumes 6.4 GB of RAM'
Request was from
Glenn Morris <rgm <at> gnu.org>
to
control <at> debbugs.gnu.org
.
(Sun, 02 Dec 2018 01:11:02 GMT)
Full text and
rfc822 format available.
Forcibly Merged 33560 33561.
Request was from
Glenn Morris <rgm <at> gnu.org>
to
control <at> debbugs.gnu.org
.
(Wed, 05 Dec 2018 17:40:01 GMT)
Full text and
rfc822 format available.
Information forwarded
to
bug-gnu-emacs <at> gnu.org, bugs <at> gnus.org
:
bug#33561
; Package
emacs,gnus
.
(Wed, 02 Feb 2022 19:06:02 GMT)
Full text and
rfc822 format available.
Message #30 received at 33561 <at> debbugs.gnu.org (full text, mbox):
Uwe Brauer <oub <at> mat.ucm.es> writes:
> > What kind of content was in the attachment? I don't see how we could
> > look into this issue without knowing at least that much.
>
> A djvu file the attachment looks like this
(I'm going through old bug reports that unfortunately weren't resolved
at the time.)
Are you still seeing this issue with more recent Emacs versions? (Emacs
no longer uses ImageMagick by default, so the problem may be gone.)
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
Added tag(s) moreinfo.
Request was from
Lars Ingebrigtsen <larsi <at> gnus.org>
to
control <at> debbugs.gnu.org
.
(Wed, 02 Feb 2022 19:06:02 GMT)
Full text and
rfc822 format available.
Information forwarded
to
bug-gnu-emacs <at> gnu.org, bugs <at> gnus.org
:
bug#33561
; Package
emacs,gnus
.
(Thu, 03 Mar 2022 21:40:01 GMT)
Full text and
rfc822 format available.
Message #35 received at 33561 <at> debbugs.gnu.org (full text, mbox):
Lars Ingebrigtsen <larsi <at> gnus.org> writes:
> Are you still seeing this issue with more recent Emacs versions? (Emacs
> no longer uses ImageMagick by default, so the problem may be gone.)
More information was requested, but no response was given within a
month, so I'm closing this bug report. If the problem still exists,
please respond to this email and we'll reopen the bug report.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
bug closed, send any further explanations to
33561 <at> debbugs.gnu.org and Uwe Brauer <oub <at> mat.ucm.es>
Request was from
Lars Ingebrigtsen <larsi <at> gnus.org>
to
control <at> debbugs.gnu.org
.
(Thu, 03 Mar 2022 21:40:02 GMT)
Full text and
rfc822 format available.
Information forwarded
to
bug-gnu-emacs <at> gnu.org, bugs <at> gnus.org
:
bug#33561
; Package
emacs,gnus
.
(Fri, 04 Mar 2022 10:50:01 GMT)
Full text and
rfc822 format available.
Message #40 received at 33561 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
>>> "LI" == Lars Ingebrigtsen <larsi <at> gnus.org> writes:
> Lars Ingebrigtsen <larsi <at> gnus.org> writes:
>> Are you still seeing this issue with more recent Emacs versions? (Emacs
>> no longer uses ImageMagick by default, so the problem may be gone.)
> More information was requested, but no response was given within a
> month, so I'm closing this bug report. If the problem still exists,
> please respond to this email and we'll reopen the bug report.
Right, that was so long ago that I hardly remember the problem. That is
why I think it is safe to close this bug for the moment
--
I strongly condem Putin's war of agression against the Ukraine.
I support to deliver weapons to Ukraine’s military.
I support the ban of Russia from SWIFT.
I support the EU membership of the Ukraine.
https://how-to-help-ukraine-now.super.site/
[smime.p7s (application/pkcs7-signature, attachment)]
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Fri, 01 Apr 2022 11:24:08 GMT)
Full text and
rfc822 format available.
This bug report was last modified 1 year and 362 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.