~jameinel/+junk/gozjson

Viewing all changes in revision 6.

  • Committer: John Arbash Meinel
  • Date: 2011-06-18 15:49:22 UTC
  • Revision ID: john@arbash-meinel.com-20110618154922-hs90rgvvc749o98o
Tried a bunch of things to track OOM, nothing seems to be working.

So I just printed out the count every 10k, and then die at the end.
I don't seem to be able to make sure defer() gets called, or anything.
It is possible that the OOM is hard, and the interpreter is just lost.

Go hits 2.5GB of memory around 1.81M lines, python hits it at 2.35M lines.
I really didn't think python would be more memory efficient.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: