Date: Sat, 21 Oct 2006 23:43:06 +0900 From: "Hye-Shik Chang" <hyeshik@gmail.com> To: "Nguyen Tam Chinh" <chinhngt@sectorb.msk.ru> Cc: freebsd-python@freebsd.org Subject: Re: Python memory allocator: Free memory Message-ID: <4f0b69dc0610210743m56a9dd6bg4c22d0fa978614a7@mail.gmail.com> In-Reply-To: <20061019213339.R953@it.hackers> References: <20061019213339.R953@it.hackers>
next in thread | previous in thread | raw e-mail | index | archive | help
On 10/20/06, Nguyen Tam Chinh <chinhngt@sectorb.msk.ru> wrote: > Hello, > > I noticed that the free memory patch > (http://sourceforge.net/tracker/index.php?func=detail&aid=1123430&group_id=5470&atid=305470) > was included in Python-2.5 and it works well in Linux now. > I built the Python-2.5 port today in FreeBSD (6.2-PRELENG, today ports > tree) but the problem with free allocated memory still exist. > Do you have any information about this case? > That works on FreeBSD by default. But FreeBSD's malloc has its own cache system similar to the pymalloc and it may hold some amt of memory after it has been freed by pymalloc side. Try some more allocation and deallocations then you can notice that the arena-freeing malloc is working. Hye-Shik
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4f0b69dc0610210743m56a9dd6bg4c22d0fa978614a7>