
2 Jun
2008
2 Jun
'08
10:52 a.m.
Hi Christian, On Sun, Jun 01, 2008 at 09:55:06PM +0200, Christian Höner zu Siederdissen wrote:
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.
We've been looking into similar problems recently, and hopefully GHC 6.10 will do better.
Are there hints on how to compile large source files? Would it help, for example to compile each function on its own?
Yes, I expect so, although the sweet spot probably has several functions per module. Thanks Ian