Skip to content

got an error when profile memory using -hr

compile

ghc -O2 -w -rtsopts -prof Main

run

./Main -tcount w45.log -identity 45 -order wire ./$1 +RTS -A4M -H1G -s -p -hr

error

Main: internal error: Invalid object in isRetainer(): 64
    (GHC version 8.0.2 for x86_64_unknown_linux)
    Please report this as a GHC bug:  http://www.haskell.org/ghc/reportabug

this run works (-hr => -h)

./Main -tcount w45.log -identity 45 -order wire ./$1 +RTS -A4M -H1G -s -p -h
Edited by Ben Gamari
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information