I installed a very old version of GHC in the same laptop in 2001 and it was 
working well ("no matter how big the program was"). Now, I upgraded it to 
version 6.2.2, but it becomes very slow and asks more Memory or Space.

I know, 64M memory is not big at all nowadays, but I don't think GHC should 
ask more than that and force me to throw away my old laptop -:). In fact, 
most of my work can be done within 64M except GHC.

Yong


On Monday 14 March 2005 11:11, Malcolm Wallace wrote:
> > > But if Main.hs is big, it will give me a message, "Killed" , after a
> > > long time  running.
> > > PIII, 64M memory
> >
> > Anyone know what is going on here?
>
> The message "Killed" means your machine ran out of virtual memory.
> Since you have only 64M real memory, I would guess your virtual
> (=real+swap) memory is probably only about 128M?
>
> Ghc tends to need quite a lot of memory when compiling certain
> constructions - I can't offhand remember the details of which
> constructs give most trouble, but there were a few reports to the
> mailing list a while back.
>
> Solution: if you have a lot of other processes running on your machine,
> you could try shutting them off before running ghc.  A few years ago
> I even needed to shutdown the X11 windowing environment and proceed
> using only a simple console, in order to free up enough virtual memory
> to compile a particularly large application.
>
> HTH,
>     Malcolm
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to