ghc process gets killed on a 512MB machine

Hi, I'm trying to install the highlighting-kate package[1] on a small Linode 512MB instance. Throughout the installation process, top reports increasing memory usage of GHC, and ends up with the process being killed (ExitFailure 9, confirmed by the dmesg command). I'm using GHC 7.0.3, and this problem didn't appear with GHC 6.12.3 and a previous version of highlighting-kate (don't know which for sure). I mean, I had it installed successfully at some point. Is there any workaround for this problem? Other than fork the package repo and reduce the number of supported syntax files. Thanks! [1]: http://hackage.haskell.org/package/highlighting-kate -- Ionuț G. Stan | http://igstan.ro/

On Sat, Apr 16, 2011 at 2:45 AM, "Ionuț G. Stan"
Is there any workaround for this problem? Other than fork the package repo and reduce the number of supported syntax files.
Use swap space. If you don't want to bother creating a new partition etc., just # dd if=/dev/zero of=/tmp/swap bs=1M count=2048 # mkswap /tmp/swap # swapon /tmp/swap Cheers, -- Felipe.

On Apr/16/2011 15:51, Felipe Almeida Lessa wrote:
Use swap space. If you don't want to bother creating a new partition etc., just
# dd if=/dev/zero of=/tmp/swap bs=1M count=2048 # mkswap /tmp/swap # swapon /tmp/swap
Thank you Felipe! It worked that way. Slow of course, but it worked. -- Ionuț G. Stan | http://igstan.ro/
participants (2)
-
"Ionuț G. Stan"
-
Felipe Almeida Lessa