Thomas Schwinge, le Sat 03 Jul 2010 16:12:59 +0200, a écrit : > On Sat, Jul 03, 2010 at 03:31:30AM +0200, Samuel Thibault wrote: > > Still having a glance at memleaks: > > > > 9 S 545M 35.6M 29.6 6.5 /hurd/ext2fs -A /dev/hd2 > > > > This seems a lot. And actually, killing it frees a couple of 100MiB swap > > space. AIUI, this means that some pages of ext2fs get swapped instead > > of written back by ext2fs. > > Could also be that ext2fs / libdiskfs / ... use malloc et al., and there > are some leaks?
See attached vminfo, which shows just a small heap starting from 0x8170000 (0x8048000 is the program itself and 0x8170000 is its data) and ending with 0x8698000[0x7aa8000] (prot=0, max_prot=RWX, offs=0x528000) Which is the 128MiB pre-reservation. There are a few big chunks which I don't know what they are: 0x2b60000[0x600000] (prot=RW, max_prot=RWX, mem_obj=2505) 0x4a60000[0x35e0000] (prot=RW, max_prot=RWX, mem_obj=2507) 0x10140000[0x10000000] (prot=RW, inherit=none, mem_obj=2567) 0x20140000[0x2aa0000] (prot=RW, max_prot=RWX, mem_obj=2568) Samuel
vminfo.bz2
Description: Binary data
