FW: ghc, linux

Volker Stolz vs at foldr.org
Mon Mar 14 03:51:05 EST 2005


In gmane.comp.lang.haskell.glasgow.bugs, you wrote:
> ghc works for small programs, ie, if Main.hs is small then
> ghc --make Main.hs   will give me a.out
> But if Main.hs is big, it will give me a message, "Killed" , after a
> long time running.
>
> PIII, 64M memory
> 420M free space on hard disk.
> I am wondering whether it is because my free space on the hard disk is
> too little.

Correct diagnosis, or more specifically: Even if you'd have a bigger disk
and more swap, your system will probably become painfully slow because of
VM accesses and might actually not be able to do anything at all
(cf. 'thrashing').

There might be ways to play with GHC's options, e.g. -H, but I think
you'll hit the ceiling rather soon in any way.
-- 
http://www-i2.informatik.rwth-aachen.de/stolz/ *** PGP *** S/MIME



More information about the Glasgow-haskell-bugs mailing list