ghc-datasize
ghc-datasize copied to clipboard
ghc-datasize is a tool to determine the size of Haskell data structures in GHC's memory
Please update this very useful tool to run with the current ghc and its libraries (see cabal-outdated). Thanks!!
`recursiveSize` uses a set represented as a list to check for boxes it already encountered. That is very inefficient; I'm measuring a tree-like data structure of about 40MB in size...
``` bench: internal error: allocation of 1506632 bytes too large (GHC should have complained at compile-time) (GHC version 8.0.1 for x86_64_unknown_linux) Please report this as a GHC bug: http://www.haskell.org/ghc/reportabug ```...