Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- pi@raspberrypi:~/Code/hello $ ~/.local/bin/hello-exe +RTS -N
- hello-exe: unknown RTS option: -N
- hello-exe:
- hello-exe: Usage: <prog> <args> [+RTS <rtsopts> | -RTS <args>] ... --RTS <args>
- hello-exe:
- hello-exe: +RTS Indicates run time system options follow
- hello-exe: -RTS Indicates program arguments follow
- hello-exe: --RTS Indicates that ALL subsequent arguments will be given to the
- hello-exe: program (including any of these RTS flags)
- hello-exe:
- hello-exe: The following run time system options are available:
- hello-exe:
- hello-exe: -? Prints this message and exits; the program is not executed
- hello-exe: --info Print information about the RTS used by this program
- hello-exe:
- hello-exe: -K<size> Sets the maximum stack size (default: 80% of the heap)
- hello-exe: Egs: -K32k -K512k -K8M
- hello-exe: -ki<size> Sets the initial thread stack size (default 1k) Egs: -ki4k -ki2m
- hello-exe: -kc<size> Sets the stack chunk size (default 32k)
- hello-exe: -kb<size> Sets the stack chunk buffer size (default 1k)
- hello-exe:
- hello-exe: -A<size> Sets the minimum allocation area size (default 512k) Egs: -A1m -A10k
- hello-exe: -n<size> Allocation area chunk size (0 = disabled, default: 0)
- hello-exe: -O<size> Sets the minimum size of the old generation (default 1M)
- hello-exe: -M<size> Sets the maximum heap size (default unlimited) Egs: -M256k -M1G
- hello-exe: -H<size> Sets the minimum heap size (default 0M) Egs: -H24m -H1G
- hello-exe: -m<n> Minimum % of heap which must be available (default 3%)
- hello-exe: -G<n> Number of generations (default: 2)
- hello-exe: -c<n> Use in-place compaction instead of copying in the oldest generation
- hello-exe: when live data is at least <n>% of the maximum heap size set with
- hello-exe: -M (default: 30%)
- hello-exe: -c Use in-place compaction for all oldest generation collections
- hello-exe: (the default is to use copying)
- hello-exe: -w Use mark-region for the oldest generation (experimental)
- hello-exe: -I<sec> Perform full GC after <sec> idle time (default: 0.3, 0 == off)
- hello-exe:
- hello-exe: -T Collect GC statistics (useful for in-program statistics access)
- hello-exe: -t[<file>] One-line GC statistics (if <file> omitted, uses stderr)
- hello-exe: -s[<file>] Summary GC statistics (if <file> omitted, uses stderr)
- hello-exe: -S[<file>] Detailed GC statistics (if <file> omitted, uses stderr)
- hello-exe:
- hello-exe:
- hello-exe: -Z Don't squeeze out update frames on stack overflow
- hello-exe: -B Sound the bell at the start of each garbage collection
- hello-exe:
- hello-exe: -h Heap residency profile (output file <program>.hp)
- hello-exe: -i<sec> Time between heap profile samples (seconds, default: 0.1)
- hello-exe:
- hello-exe: -C<secs> Context-switch interval in seconds.
- hello-exe: 0 or no argument means switch as often as possible.
- hello-exe: Default: 0.02 sec.
- hello-exe: -V<secs> Master tick interval in seconds (0 == disable timer).
- hello-exe: This sets the resolution for -C and the heap profile timer -i,
- hello-exe: and is the frequence of time profile samples.
- hello-exe: Default: 0.01 sec.
- hello-exe:
- hello-exe: --install-signal-handlers=<yes|no>
- hello-exe: Install signal handlers (default: yes)
- hello-exe: -e<n> Maximum number of outstanding local sparks (default: 4096)
- hello-exe: -xq The allocation limit given to a thread after it receives
- hello-exe: an AllocationLimitExceeded exception. (default: 100k)
- hello-exe:
- hello-exe: RTS options may also be specified using the GHCRTS environment variable.
- hello-exe:
- hello-exe: Other RTS options may be available for programs compiled a different way.
- hello-exe: The GHC User's Guide has full details.
- hello-exe:
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement