[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Emacs memory management and sluggishness
From: |
Joseph Mingrone |
Subject: |
Re: Emacs memory management and sluggishness |
Date: |
Thu, 01 Aug 2019 06:46:13 -0300 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (berkeley-unix) |
Eli Zaretskii <address@hidden> writes:
>> From: Joseph Mingrone <address@hidden>
>> Date: Wed, 31 Jul 2019 19:27:06 -0300
>> Cc: address@hidden
>> > How many pages of those 1200 you viewed? Do you use PDF-Tools or Doc
>> > View? If you execute `garbage-collect' does the memory go down?
>> > I'm asking all this because one of the possibilities is a leak on the
>> > image handling code.
>> I just tried it again and held down 'n' to visit all pages and the
>> memory stayed under 500 MB. I am using pdf-tools v0.90. I also just
>> tried with
>> https://file-examples.com/wp-content/uploads/2017/10/file-example_PDF_1MB.pdf
>> and the memory stayed under 400 MB. I'm somewhat confident that I
>> encountered memory issues in an Emacs instance without visiting a PDF
>> file.
> What image library is used for that? Is it ImageMagick or is it
> something else?
From https://github.com/politza/pdf-tools
It uses poppler to render PDFs. "...there is one feature (following
links of a PDF document by plain keystrokes) which requires
imagemagick’s convert utility."
When I woke this morning, memory usage went from about 200-300 MB to
about 3 GB overnight. No PDFs were open.
signature.asc
Description: PGP signature
- Re: Emacs memory management and sluggishness,
Joseph Mingrone <=