Heap package:base
The program's heap is reaching its limit, and the program should take
action to reduce the amount of live data it has. Notes:
- It is undefined which thread receives this exception. GHC
currently throws this to the same thread that receives
UserInterrupt, but this may change in the future.
- The GHC RTS currently can only recover from heap overflow if it
detects that an explicit memory limit (set via RTS flags). has been
exceeded. Currently, failure to allocate memory from the operating
system results in immediate termination of the program.
address to ask the OS for memory
ticks between samples (derived)
Request a heap census on the next context switch. The census can be
requested whether or not the heap profiling timer is running.
Note: This won't do anything unless you also specify a profiling mode
on the command line using the normal RTS options.
Start heap profiling. This is called normally by the RTS on start-up,
but can be disabled using the rts flag
--no-automatic-heap-samples.
Note: This won't do anything unless you also specify a profiling mode
on the command line using the normal RTS options.
Stop heap profiling.
Note: This won't do anything unless you also specify a profiling mode
on the command line using the normal RTS options.
What sort of heap profile are we collecting?