Re: [Numpy-discussion] Memory Usage Question - clarification

2010-06-08 Thread Tom Kuiper
In fact, 'report_memory' shows that memory use was constant throughout all 256 iterations. Thank you for the hint, Eric. > Date: Tue, 08 Jun 2010 09:22:41 -0700 > From: Tom Kuiper > Subject: Re: [Numpy-discussion] Memory Usage Question > To: "numpy-discussion@scipy.or

Re: [Numpy-discussion] Memory Usage Question

2010-06-08 Thread Tom Kuiper
mplx); Py_CLEAR(Clist); return result; } Memory still grows, but much more slowly and, for my purposes, it's no longer a problem. I will use the report_memory function to research this a little more. Thanks so much, Tom Date: Sun, 06 Jun 2010 15:00:16 -1000 From: Eric Firing Subject:

Re: [Numpy-discussion] memory usage question

2010-06-06 Thread Eric Firing
On 06/06/2010 02:17 PM, Tom Kuiper wrote: > Greetings all. > > I have a feeling that, coming at this with a background in FORTRAN and > C, I'm missing some subtlety, possibly of an OO nature. Basically, I'm > looping over very large data arrays and memory usage just keeps growing > even though I

[Numpy-discussion] memory usage question

2010-06-06 Thread Tom Kuiper
Greetings all. I have a feeling that, coming at this with a background in FORTRAN and C, I'm missing some subtlety, possibly of an OO nature. Basically, I'm looping over very large data arrays and memory usage just keeps growing even though I re-use the arrays. Below is a stripped down versi