[Haskell-cafe] help optimizing memory usage for a program
manlio_perillo at libero.it
Mon Mar 2 13:13:51 EST 2009
Manlio Perillo ha scritto:
> > moreover, you may set up"growing factor". with a g.f. of
>> 1.5, for example, memory will be collected once heap will become 1.5x
>> larger than real memory usage after last GC. this effectively
>> guarantees that memory overhead will never be over this factor
> This seems to be effective (but it also reduce performances).
> 3) With -F1 option
> I have to parse the whole data set, to check if memory usage is good.
814 MB used
This is better memory usage, respect to:
1586 MB used
However, Kenneth Hoste reported (http://boegel.kejo.be/):
26 minutes, with 700 MB used.
Maybe he was using the latest GHC version.
I would also like to check how performances are with other functional
Regards Manlio Perillo
More information about the Haskell-Cafe