[Tutor] memory consumption
Steven D'Aprano
steve at pearwood.info
Thu Jul 4 03:20:48 CEST 2013
On 04/07/13 08:11, Andre' Walker-Loud wrote:
> Yes, I was being sloppy. My later post clarified what I meant.
> The loops are really lists, and I was really using enumerate()
>to get both the iter and the element.
>
> loop_2 = [1,2,4,8,16,32,64,128,256,512,1024]
> for i,n in enumerate(loop_2):
> ...
Please be careful about portraying yourself as less experienced/more naive than you really are. Otherwise we end up wasting both our time and yours telling you to do things that you're already doing.
Have you googled for "Python memory leak os-x"? When I do, I find a link to this numpy bug:
https://github.com/numpy/numpy/issues/2969
--
Steven
More information about the Tutor
mailing list