logo       

Re: FW: ghc, linux: msg#00058

lang.haskell.glasgow.bugs

Subject: Re: FW: ghc, linux

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


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise