ghc-5.00.2: panic! (the `impossible' happened, GHC version 5.00.2): Oversize heap check detected. Please try compiling with -O.

Julian Seward (Intl Vendor) v-julsew at microsoft.com
Wed Oct 3 04:50:35 EDT 2001


| > Changing
| > #define BLOCK_SIZE   0x1000
| > to
| > #define BLOCK_SIZE   0x2000
| > in there and rebuilding produced a build which produces code that 
| > segfaults.
| 
| Ah, I forgot to mention you need to adjust BLOCK_SHIFT 
| accordingly (on the next line).  Changing it from 12 to 13 
| should do the trick.

How about this then

#define BLOCK_SHIFT 13
#define BLOCK_SIZE  (1 << BLOCK_SHIFT)

J




More information about the Glasgow-haskell-bugs mailing list