Re: [Numpy-discussion] Strange memory consumption in numpy?

2013-05-16 Thread Robert Kern
On Thu, May 16, 2013 at 1:32 PM, Martin Raspaud wrote: > On 16/05/13 10:26, Robert Kern wrote: > >>> Can anyone give a reasonable explanation ? >> >> memory_profiler only looks at the amount of memory that the OS has >> allocated to the Python process. It cannot measure the amount of >> memory act

Re: [Numpy-discussion] Strange memory consumption in numpy?

2013-05-16 Thread Martin Raspaud
On 16/05/13 10:26, Robert Kern wrote: >> Can anyone give a reasonable explanation ? > > memory_profiler only looks at the amount of memory that the OS has > allocated to the Python process. It cannot measure the amount of > memory actually given to living objects. Python does not always return >

Re: [Numpy-discussion] Strange memory consumption in numpy?

2013-05-16 Thread Robert Kern
On Thu, May 16, 2013 at 8:35 AM, Martin Raspaud wrote: > Hi all, > > In the context of memory profiling an application (with memory_profiler > module) we came up a strange behaviour in numpy, see for yourselves: > > Line #Mem usageIncrement Line Contents > ===

[Numpy-discussion] Strange memory consumption in numpy?

2013-05-16 Thread Martin Raspaud
Hi all, In the context of memory profiling an application (with memory_profiler module) we came up a strange behaviour in numpy, see for yourselves: Line #Mem usageIncrement Line Contents 29 @profile 30