> > 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