memory distribution in ghci

S.D.Mechveliani mechvel@math.botik.ru
Fri, 27 Apr 2001 15:28:19 +0400


It looks, there remains a questions on memory distribution in 
                                           ghc-5.00 -interpreted :

can  ghci  provide a command measuring the part of heap taken
by interpreted programs, 
by interfaces?
(or, at least, their sum)

For, with -O and much in-lining, the interfaces may be very large. 
Also compare it to the _batch_ mode: commanding

                       ghc -o run Foo.o
                       ./run +RTS -MXXm -RTS

the user is sure that XX Mb is only for the `real' computation data.

-----------------
Serge Mechveliani
mechvel@botik.ru