Re: [dev] [wmii] likely memory leak

From: Kris Maglione <>
Date: Wed, 23 Feb 2011 14:40:18 -0500

On Fri, Feb 18, 2011 at 09:15:14PM +0300, Roman Belov wrote:
>I use wmii-3.9.2-r1 (gentoo ebuild) on my workstation. Today I looked at
>memory usage and saw that wmii had been occupying all memory and swap.
>Uptime was about three month.
>I am trying to reproduce this issue at home with wmii-9999 (hg, cloned today).
>Seems the devel version has this issue too.

Ok, I looked into this and it turns out that it wasn't a leak.
Certain structures used in the filesystem are allocated from a
free list because they're used in huge numbers. However, in one
particular place, a structure was allocated directly rather than
taken from the free list, and was re-added to the free list
later, and thus the free list grew without bound by one
structure for each filesystem walk. It should be fixed by
revision 141:339db5c6d2c9 in the libixp repo.

Kris Maglione
Lisp doesn't look any deader than usual to me.
	--David Thornley
Received on Wed Feb 23 2011 - 20:40:18 CET

This archive was generated by hypermail 2.2.0 : Wed Feb 23 2011 - 20:48:02 CET