tmp. variables.
Curtis Jensen
cjensen at bioeng.ucsd.edu
Tue Nov 14 11:48:47 EST 2000
More information about the Python-list mailing list
Tue Nov 14 11:48:47 EST 2000
- Previous message (by thread): Simple HTML to XML parser?
- Next message (by thread): parallel port acces
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
The following code allocates 12MB of memory (8MB from python interpretor). Python 1.5.2 (#4, Sep 5 2000, 10:29:12) [C] on irix646 Copyright 1991-1995 Stichting Mathematisch Centrum, Amsterdam >>> from Numeric import * >>> def foo(): ... a = zeros( [851000],Float ) When I run foo(), the memory usage goes up to 12MB. How come when foo ends the memory isn't reclaimed? I've tried "del a" within the function and it still doesn't reclaim the memory. -- Curtis Jensen cjensen at bioeng.ucsd.edu http://www-bioeng.ucsd.edu/~cjensen/ FAX (425) 740-1451
- Previous message (by thread): Simple HTML to XML parser?
- Next message (by thread): parallel port acces
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list