5 OutOfHeapHook (request_size, heap_size)
6 W_ request_size; /* in bytes */
7 W_ heap_size; /* in bytes */
9 fprintf(stderr, "Heap exhausted;\nwhile trying to allocate %lu bytes in a %lu-byte heap;\nuse `+RTS -H<size>' to increase the total heap size.\n",