Re: Out of memory mystery

2015-01-19 Thread Simon Marlow
There are a couple of reasons this could happen: - The -h flag causes the GC to run more often, which will reclaim memory more promptly - -h causes more old-gen GCs to happen, which can avoid some cases where generational GC has promoted something that hangs on to a lot of stuff causing the

Re: Out of memory mystery

2014-12-08 Thread Ben Gamari
Lennart Augustsson writes: > 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

Out of memory mystery

2014-12-06 Thread Lennart Augustsson
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 Compi