
On Tue, Oct 5, 2010 at 10:50 AM, Simon Marlow
Oh, in that case the results are to be expected. GHC prior to version 7.0.1 didn't release memory back to the OS even when the memory requirements of the program dropped: see
http://hackage.haskell.org/trac/ghc/ticket/698
In 7.0.1 we do release memory back to the OS, although I think on Windows we're still not releasing address space.
Cheers, Simon
Oh. Well then, good call. :) I've got Atomo up and running on GHC 7 now. Very nice performance boosts! Plus memory appears to be freed, though I can't test loading as it panics: atomo $ atomo > load: "src/empty.hs" atomo: atomo: panic! (the 'impossible' happened) (GHC version 7.0.0.20100924 for i386-apple-darwin): Testing for extension flag Opt_Generics before flattening Please report this as a GHC bug: http://www.haskell.org/ghc/reportabug Daniel: I've attached a patch containing the changes I made to Hint to get it compiling (though not working apparently) on GHC 7. Hope it helps! -- Alex