Upper memory limit

Pearu Peterson pearu at cens.ioc.ee
Fri May 17 17:15:36 EDT 2002


On 17 May 2002, Chris Barker wrote:

> Siegfried Gonzi wrote:
> 
> > I write the array (400 000 of lines) into a Numeric array (NIL becomes
> > -1.0). I repeat the task 10 times in a Python function.
> 
> I'm still confused. do you call the F5 code from Python? Using Python to
> manipulate a Numeric array crated by the Fortran code? If so, I suspect
> that that is your memory leak.

Does this Fortran code use allocatable arrays? If yes then does it
deallocate the arrays? If no then there is no other way for Fortran to
create arrays, AFAIK.

> post some code, if you wnat hel figuring it out.

Indeed.

Pearu







More information about the Python-list mailing list