memory map in ghci
S.D.Mechveliani
mechvel@math.botik.ru
Fri, 27 Apr 2001 13:09:09 +0400
Dear GHC-5.00,
I cannot find where it is explained the memory distribution used by
ghci.
For example, after ghci +RTS -M16m -RTS
...
Prelude> :l XX
... (YY.o loaded ...)
... (XX interpreted ...)
do YY.o, XX take any of these 16Mb ?
Are there any commands in ghci to get the memory map?
It is something like
space taken by loaded compiled programs,
interpreted programs,
by data,
free space for program,
free space for data,
space for stack.
Is the interpreted program treated as data?
-----------------
Serge Mechveliani
mechvel@botik.ru