git.iko.soy/typeable/pandoc
on master help sign in
MANUAL: Under security, added note about +RTS option to limit heap size.

See #5047.

commit2347babbf0d93d1025cb822d55255dfcd8cb3e57 authorJohn MacFarlane <jgm@berkeley.edu> dateThu 15 Nov 2018, 10:10 (8 years ago) parentf393f4b
1 file changed+3
MANUAL.txt+3
MANUAL.txt+3
@@ -4885,6 +4885,9 @@ application, here are some things to keep in mind:
488548853. Pandoc's parsers can exhibit pathological performance on some
48864886 corner cases. It is wise to put any pandoc operations under
48874887 a timeout, to avoid DOS attacks that exploit these issues.
4888+ If you are using the pandoc executable, you can add the
4889+ command line options `+RTS -M512M -RTS` (for example) to limit
4890+ the heap size to 512MB.
48884891
488948924. The HTML generated by pandoc is not guaranteed to be safe.
48904893 If `raw_html` is enabled for the Markdown input, users can