Increased memory usage with GHC 7.10.1

Jan Stolarek jan.stolarek at
Thu Apr 2 15:21:34 UTC 2015

> I'm curious why the amount of RAM is relevant as all of our OS have virtual
> memory so it is only the size of the heap and the amount of swap that
> should be relevant for an Out Of Memory error, right? How big is your heap?
> Amount of RAM should only affect speed (i.e. if there is excessive paging)
> but should not affect Out Of Memory right?
Actually, I never allowed GHC to completely run out of memory. I just killed the build process 
when it consumed all of physical RAM memory and started growing into swap. At that point machine 
becomes barely usable and the build practically stalls as CPU usage drops to 0. FYI: both 
machines have size of swap equal to size of RAM.


Politechnika Łódzka
Lodz University of Technology

Treść tej wiadomości zawiera informacje przeznaczone tylko dla adresata.
Jeżeli nie jesteście Państwo jej adresatem, bądź otrzymaliście ją przez pomyłkę
prosimy o powiadomienie o tym nadawcy oraz trwałe jej usunięcie.

This email contains information intended solely for the use of the individual to whom it is addressed.
If you are not the intended recipient or if you have received this message in error,
please notify the sender and delete it from your system.

More information about the Glasgow-haskell-users mailing list