[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Memory again
From: |
emacs user |
Subject: |
Re: Memory again |
Date: |
Wed, 21 Dec 2011 19:55:48 +0200 |
On Wed, Dec 21, 2011 at 10:07 AM, Jan Djärv <address@hidden> wrote:
> Hello.
>
> 20 dec 2011 kl. 14:04 skrev Eli Zaretskii:
>
>>> Date: Tue, 20 Dec 2011 14:05:20 +0200
>>> From: emacs user <address@hidden>
>>>
>>>>> thanks! here it is. I attach both the leaks output, and the
>>>>> backtrace/ xbacktrace for a crash that happens eventually.
>>>>> At the time of this leaks report, emacs has 192Mb according to the
>>>>> activity monitor, with all buffers deleted. happy to do additional
>>>>> tests if needed.
>>>>
>>>> Please set MallocStackLogging in the environment, and run this again.
>>>> Without the call-stack info, I find it hard to believe we will be able
>>>> to correlate these leaks with source code.
>>>>
>>>> Thanks.
>>>
>>> thanks for this hint, here it is, at least the first few entries:
>>
>> Thank you. Looks like all of these leaks are NS-specific, if I
>> understand the information correctly.
>
> I fixed most of these, but memory leaks still remains in the NS-port.
> Hopefully, the most common ones are gone now.
>
> Jan D.
>
Thanks... The leaks command indeed reports zero leaks now. however,
emacs still grows every time I invoke vm. here is a memory report
which I get after killing all buffers, when emacs is 214 Mb large (as
seen in the Activity Monitor). is this normal?
Garbage collection stats:
((400287 . 303593) (45615 . 144) (60632 . 80546) 2488080 600138 (708 .
477) (521 . 271) (85624 . 67826))
=> 6404592+4857488 bytes in cons cells
2189520+6912 bytes in symbols
2425280+3221840 bytes in markers
11328+7632 bytes in floats
29176+15176 bytes in intervals
2739968+2170432 bytes in string headers
2488080 bytes of string chars
2488080 bytes of vector slots
Total bytes in lisp objects: 27167562 (live 16888082, dead 10279480)
Buffer ralloc memory usage:
14 buffers
29463 bytes total (24346 in gaps)
Size Gap Name
2186 987 *srecode-map-tmp*
2186 1814 *code-converting-work*
565 1570 *Buffer Details*
170 1851 *Deletions*
30 2000 *Messages*
25 2019 *extract address components*
22 2022 *canonical address*
16 5812 *code-conversion-work*
11 2040 *Echo Area 1*
0 2022 *Minibuf-1*
0 20 *vm-nonexistent-summary*
0 20 *Minibuf-0*
0 2055 *Echo Area 0*
0 20 *subst-char-in-string*
- Re: Memory again, (continued)
- Re: Memory again, emacs user, 2011/12/19
- Re: Memory again, emacs user, 2011/12/20
- Re: Memory again, Eli Zaretskii, 2011/12/20
- Re: Memory again, emacs user, 2011/12/20
- Re: Memory again, Eli Zaretskii, 2011/12/20
- Re: Memory again, Jan Djärv, 2011/12/20
- Re: Memory again, Jan Djärv, 2011/12/21
- Re: Memory again, Carsten Mattner, 2011/12/21
- Re: Memory again,
emacs user <=
- Re: Memory again, Jan Djärv, 2011/12/22
- Re: Memory again, emacs user, 2011/12/22
- Re: Memory again, emacs user, 2011/12/22
- Re: Memory again, Jan Djärv, 2011/12/22
- Re: Memory again, YAMAMOTO Mitsuharu, 2011/12/22
- Re: Memory again, Carsten Mattner, 2011/12/22
- Re: Memory again, Stefan Monnier, 2011/12/22
- Re: Memory again, emacs user, 2011/12/23