emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: (heap 1024 82721 1933216)


From: Daniel Colascione
Subject: Re: (heap 1024 82721 1933216)
Date: Sat, 18 Jan 2014 06:12:49 -0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0

On 01/18/2014 06:07 AM, Eli Zaretskii wrote:
Date: Sat, 18 Jan 2014 05:51:26 -0800
From: Daniel Colascione <address@hidden>
CC: address@hidden

On 01/18/2014 05:50 AM, Eli Zaretskii wrote:
Date: Sat, 18 Jan 2014 05:39:30 -0800
From: Daniel Colascione <address@hidden>

On Emacs trunk, I recently got into a situation where Emacs had a vsize
of over 6GB. After killing all buffers, garbage-collect reported (heap
1024 82721 1933216) as the most interesting part of its on its return
value. dlmalloc's free memory retention seems a bit severe here. Are we
just badly fragmenting the heap?

Buffers are not allocated off the heap, as you well know.

No, but their buffer locals might be.

I find it hard to believe that buffer locals could devour gigabytes of
memory, no matter what fragmentation did we cause.

I agree and never said they were --- I was just trying to eliminate as many GC roots as possible. Anyway, that's not the point: there's still 2GB of accounted memory sitting there unused.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]