unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Manuel Giraud <manuel@ledu-giraud.fr>
Cc: 61763@debbugs.gnu.org
Subject: bug#61763: 30.0.50; Image Cache Size growth
Date: Fri, 24 Feb 2023 19:12:43 +0200	[thread overview]
Message-ID: <83o7pjm1h0.fsf@gnu.org> (raw)
In-Reply-To: <87y1on9ey7.fsf@ledu-giraud.fr> (bug-gnu-emacs@gnu.org)

> Date: Fri, 24 Feb 2023 18:00:00 +0100
> From:  Manuel Giraud via "Bug reports for GNU Emacs,
>  the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
> 
> My image cache size grows really quick when browsing some images from
> Emacs.  My recipe:
> 
>         emacs -Q
>         M-: (clear-image-cache)
>         Then, I open a image in a directory with other images.
>         I hit 'n' 5 times (to open next 5 images).
>         Each image is a JPG of about 1.3MiB.
>         Then, M-x memory-report says:
>            366 MiB  Total Image Cache Size
> 
> With such growth, Emacs quickly tells me that the memory is exhausted.

Did you try to lower the value of image-cache-eviction-delay?





  reply	other threads:[~2023-02-24 17:12 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-02-24 17:00 bug#61763: 30.0.50; Image Cache Size growth Manuel Giraud via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-02-24 17:12 ` Eli Zaretskii [this message]
2023-02-24 19:41   ` Manuel Giraud via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-02-24 19:55     ` Eli Zaretskii
2023-02-24 20:27       ` Manuel Giraud via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-02-24 20:43         ` Eli Zaretskii
2023-02-24 21:32           ` Manuel Giraud via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-02-25  7:09             ` Eli Zaretskii
2023-02-25 12:19               ` Manuel Giraud via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-02-25 13:24                 ` Eli Zaretskii

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=83o7pjm1h0.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=61763@debbugs.gnu.org \
    --cc=manuel@ledu-giraud.fr \
    /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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).