Oh yes, one more datum. If I run hs_perform_gc before each and every mallocForeignPtrBytes and reallocBytes, the leak goes much more slowly, and the code gets much further in the job before getting killed. But it still leaks, and still gets killed. -- David Roundy http://www.abridgegame.org