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