GHC 6.8.2 and large source files
simonpj at microsoft.com
Tue Jun 3 11:06:59 EDT 2008
We'd like to fix this.
Can you make Trac bug report, and attach a sample source file which gives you these compilation problems?
| -----Original Message-----
| From: glasgow-haskell-users-bounces at haskell.org [mailto:glasgow-haskell-users-bounces at haskell.org] On
| Behalf Of Christian Höner zu Siederdissen
| Sent: 01 June 2008 20:55
| To: glasgow-haskell-users at haskell.org
| Subject: GHC 6.8.2 and large source files
| Dear Haskell users,
| we have an automated system that generates executable haskell source
| files. These files have a line count from 1,000 lines up to 28,000
| lines. There is only 1 type definition and 5 functions in total in the
| We now can compile into executable code some of these programs but the
| compiler requires an incredible amount of memory: the 15,000 line
| programs easily require 2 GByte of RAM and then the compiler dies.
| Are there hints on how to compile large source files? Would it help, for
| example to compile each function on its own?
| On the following webpage you can find a handcrafted program, albeit with
| very few lines, that shows how one of our source files would look like:
| We automatically generate type, algebras and the grammar for our
| Christian Höner zu Siederdissen
More information about the Cvs-ghc