Can't profile when the heap maximum is hit
$ echo "main = print $ product [1..]" > temp.hs
$ ghc -prof -auto-all temp.hs --make
$ ./temp +RTS -M100k -p -RTS
$ cat temp.prof
and the contents of temp.prof will be empty.
Trac metadata
| Trac field | Value |
|---|---|
| Version | 6.8.2 |
| Type | Bug |
| TypeOfFailure | OtherFailure |
| Priority | normal |
| Resolution | Unresolved |
| Component | Profiling |
| Test case | |
| Differential revisions | |
| BlockedBy | |
| Related | |
| Blocking | |
| CC | |
| Operating system | |
| Architecture | Unknown |