On Thu, Mar 18, 2004, Kevin Jacobs wrote: > > Varying the value of N also results in strange results: > > for i in range(6): > leak_test(10**i, new_type) > > Produces: > Leak detected (N=1, 1 new objects) > Leak detected (N=10, 9 new objects) > Leak detected (N=100, 90 new objects) > Leak detected (N=1000, 78 new objects) > Leak detected (N=10000, 9 new objects) > Leak detected (N=100000, 8 new objects) This looks to me like standard boundary conditions for GC; GC normally only gets provoked when more than gc.get_threshold() objects have been created than deleted. What makes you think something unusual is happening? -- Aahz (aahz at pythoncraft.com) <*> http://www.pythoncraft.com/ "usenet imitates usenet" --Darkhawk
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4