Feature request: configuration of garbage collection
- Dominant language
- Haskell
- Stars
- 2.3k
- Forks
- 231
- PR merge metrics
- No merged PRs in 30d
Description
I'm interested in using gitit as a note-taking environment. Typically I'll be taking notes on a netbook in a conference hall without power outlets, and therefore running on battery.
I see from the gitit help that:
> By default, GHC’s runtime will repeatedly attempt to collect garbage when an executable like Gitit is idle. ...
> To fix this, one can disable the idle-time GC with the runtime flag -I0
Except, of course, one can't if one is using a precompiled binary (from, say, the Ubuntu repo). From what I understand, having researched the cryptically unhelpful error message I received in response to trying to set said flag (not your fault, obviously!), one can only do this (as of GHC 7) if the program has been compiled with -rtsopts=all, which no self-respecting packager will do because of the Potential Security Nightmare it would unleash.
I have no idea if this is even possible, but I ask in hope: is there a way you could put a switch into the application itself for turning idle-time GC off, so lazy end users like myself don't have to recompile from source in order to do it?
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.