tiny script has memory leak

Chris Angelico rosuav at gmail.com
Mon May 14 20:45:54 EDT 2012


On Sat, May 12, 2012 at 7:29 AM, gry <georgeryoung at gmail.com> wrote:
> f = open(sys.argv[1], 'w')

What are you passing as the file name argument? Could that device be
the cause of your memory usage spike?

ChrisA



More information about the Python-list mailing list