ghc: out of memory error while compiling huge "let"

Ian Lynagh igloo at
Tue Feb 6 10:54:47 EST 2007

On Fri, Jan 12, 2007 at 12:32:47PM -0500, David Morse wrote:
> I have a machine-generated source-code file that brings my computer to
> its knees with ghc-6.6.  After an hour or so of rummaging around, ghc
> dies with: "ghc-6.6: out of memory (requested 1048576 bytes)".

I've made a bug report at
which is hopefully similar enough that it will cover your case too. If
it's not confidential, you might like to add your example to the report
too so that we can check it is really fixed when look into it.


More information about the Glasgow-haskell-users mailing list