Commit 4553e941 authored by simonmar's avatar simonmar
Browse files

[project @ 2005-02-16 10:50:23 by simonmar]

Recommend using -M rather than -H to increase the heap size.

On Windows, there's an arbitrary limit of 256Mb due to the way memory
is allocated, which is the primary cause of running out of heap.  On
Unix, the heap size is unlimited by default.
parent d1f0e6ab
......@@ -62,7 +62,7 @@ OutOfHeapHook (unsigned long request_size/* always zero these days */,
unsigned long heap_size)
/* both in bytes */
{
fprintf(stderr, "GHC's heap exhausted: current limit is %lu bytes;\nUse the `-H<size>' option to increase the total heap size.\n",
fprintf(stderr, "GHC's heap exhausted: current limit is %lu bytes;\nUse the `-M<size>' option to increase the total heap size.\n",
heap_size);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment