simple questions about +RTS -s output
marlowsd at gmail.com
Thu Sep 18 08:47:39 EDT 2008
Peter Hercek wrote:
> There is an example of +RTS -s output at the end.
> I have few simple questions:
> What does "9 Mb total memory in use" mean?
> Is it in mega bytes (MB) or in mega bits (Mb)?
> I would expect memory usage to be in bytes (B)
> but a unit for bits (b) seems to be used.
> Looks like heap size in mega bytes...
It's mega bytes (MB). I fixed the abbreviation a while ago, it'll be
correct in 6.10.1. Also there are some new stats about the amount of
memory being wasted due to fragmentation in the memory allocator.
More information about the Glasgow-haskell-users