On Wed, Jan 8, 2014 at 3:30 PM, Oscar Benjamin
<oscar.j.benja...@gmail.com>wrote:

> The garbage collector has nothing to do with the memory usage of immutable
> types like ints. There are deallocated instantly when the last reference
> you hold is cleared (in CPython). So if you run out of memory because of
> them then it is because you're keeping them alive in your own code. Running
> the garbage collector with gc.collect cannot help with that.
>

Well that's sort of interesting... so it's different for mutables? huh.
Anyway, I think I got what I can reasonably hope to get from this question,
thanks to you and everyone!

-- 
Keith
_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor

Reply via email to