An error message from nhc, note the -1466809254: The program ran out of heap memory. (Current heapsize is 40000000 bytes.) You can set a bigger size with e.g. +RTS -H4M -RTS (4M = four megabytes).GC stats: Only 83 words after gc, need 90 words. Used 1541499472 words of heap. Moved -1466809254 words of heap in 2217 gcs. 83 words to next gc. Max live after gc: 9715784 words. Thanks Ian