Out of memory mystery

Lennart Augustsson lennart at augustsson.net
Sat Dec 6 23:58:56 UTC 2014


I'm running the 32-bit Windows version of ghc-7.8.3.

Here are two runs:

$ RunMu +RTS -A64M -h -Sstat.log -i1 -RTS -c Strat.App.Abacus.Main
Compiling afresh Strat.App.Abacus.Main
Compiled  afresh Strat.App.Abacus.Main, 1302.84s

$ RunMu +RTS -A64M -Sstat.log -i1 -RTS -c Strat.App.Abacus.Main
Compiling afresh Strat.App.Abacus.Main
RunMu.exe: out of memory

The binary is compiled without profiling, but in the first run I'm using
the -h flag to get the rudimentary heap profile.  And with -h it works, but
without the flag it runs out of memory.

Any bright ideas from the RTS experts on why this could happen?

  -- Lennart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/ghc-devs/attachments/20141207/6b16dabf/attachment.html>


More information about the ghc-devs mailing list