[Numpy-discussion] Memory Leak

Russel Howe russel@appliedminds....
Sun Jul 22 16:39:17 CDT 2012


Never mind, this was fixed with commit 3a7e61c7d55be9a84929747c38cd71e62593129d.

Russel

________________________________________
From: numpy-discussion-bounces@scipy.org [numpy-discussion-bounces@scipy.org] on behalf of Russel Howe [russel@appliedminds.com]
Sent: Friday, July 20, 2012 8:04 PM
To: numpy-discussion@scipy.org
Subject: [Numpy-discussion] Memory Leak

The attached program leaks about 24 bytes per loop. The comments give a
bit more detail as to when the leak occurs and doesn't. How can I track
down where this leak is actually coming from?

Here is a sample run on my machine:

$ python simple.py
Python Version:  2.7.3 (default, Apr 20 2012, 22:39:59)
[GCC 4.6.3]
numpy version:  1.6.1
/etc/lsb-release:
    DISTRIB_ID=Ubuntu
    DISTRIB_RELEASE=12.04
    DISTRIB_CODENAME=precise
    DISTRIB_DESCRIPTION="Ubuntu 12.04 LTS"
110567424.0 24.465408
135168000.0 24.600576
159768576.0 24.600576
184369152.0 24.600576
208969728.0 24.600576
233570304.0 24.600576
258035712.0 24.465408
282636288.0 24.600576
307236864.0 24.600576
331837440.0 24.600576


More information about the NumPy-Discussion mailing list