... | ... | @@ -36,7 +36,7 @@ Use `+RTS -?` to see a list of all the `-D` flags. The current list (GHC 6.12) i |
|
|
```
|
|
|
|
|
|
|
|
|
Of these, `-DS` (sanity checking) is special. It switches on a rather expensive heap-consistency check which runs after every garbage collection. Your program will run a lot slower, but it helps when tracking down garbage-collection errors.
|
|
|
Of these, `-DS` (sanity checking) is special. It switches on lots of expensive consistency checks, including a full heap consistency check which runs after every garbage collection. Your program will run a lot slower, but it helps when tracking down garbage-collection errors.
|
|
|
|
|
|
## Debugging memory leaks
|
|
|
|
... | ... | |