The code
for i in range(17000000):
10^(1/4)
input("Press enter to finish")
results in a 1GB memory leak. Why? In particular, why doesn't garbage collection deal with this?
| 1 | initial version |
The code
for i in range(17000000):
10^(1/4)
input("Press enter to finish")
results in a 1GB memory leak. Why? In particular, why doesn't garbage collection deal with this?
Copyright Sage, 2010. Some rights reserved under creative commons license. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.