* [9fans] mem leak tips?
@ 2005-04-23 21:50 Tim Newsham
2005-04-24 15:53 ` Ronald G. Minnich
0 siblings, 1 reply; 2+ messages in thread
From: Tim Newsham @ 2005-04-23 21:50 UTC (permalink / raw)
To: 9fans
Any tips for hunting down memory leaks in the kernel?
Is debugalloc.c a replacement for the libc allocator?
I haven't narrowed it down yet, but /dev/swap reports
growth after each exec, but not after each fork (in
xen, not the standard pc kernel). ^T^Tx also shows
growth:
122 holes free
00c53e80 00c57ea8 16424
00d20018 00d24040 16424
00e149a0 00e14bc0 544
00e7cca0 00ec0f48 279208
01015c90 010165d0 2368
011bb468 0217d000 16522136
16837104 bytes free
ialloc 0/14045184
pad 0, concat 0, pullup 0, copy 0
consume 0, produce 72, qcopy 1732024
Main max 22673044 cur 1835456 free 119392 alloc 53937312
Image max 16777216 cur 0 free 0 alloc 0
3096/16003 memory 0/130800 swap 0 iolist
$ echo
122 holes free
00c53e80 00c57ea8 16424
00d20018 00d24040 16424
00e149a0 00e14bc0 544
00e7cca0 00f79678 1034712
01015c90 010165d0 2368
011bb468 0217d000 16522136
17592608 bytes free
ialloc 0/14045184
pad 0, concat 0, pullup 0, copy 0
consume 0, produce 80, qcopy 1781260
Main max 22673044 cur 1835456 free 119360 alloc 54047936
Image max 16777216 cur 0 free 0 alloc 0
3102/16003 memory 0/130800 swap 0 iolist
Tim Newsham
http://www.lava.net/~newsham/
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [9fans] mem leak tips?
2005-04-23 21:50 [9fans] mem leak tips? Tim Newsham
@ 2005-04-24 15:53 ` Ronald G. Minnich
0 siblings, 0 replies; 2+ messages in thread
From: Ronald G. Minnich @ 2005-04-24 15:53 UTC (permalink / raw)
To: Fans of the OS Plan 9 from Bell Labs
what platform is this leak on?
ron
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2005-04-24 15:53 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-04-23 21:50 [9fans] mem leak tips? Tim Newsham
2005-04-24 15:53 ` Ronald G. Minnich
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 NNTP newsgroup(s).