@@ -348,14 +348,14 @@ Executable pandoc
348348 HTTP >= 4000.0.5 && < 4000.3,
349349 citeproc-hs >= 0.3.7 && < 0.4
350350 if impl(ghc >= 7.0.1)
351− Ghc-Options: -rtsopts -Wall -fno-warn-unused-do-bind
351+ Ghc-Options: -rtsopts -with-rtsopts=-K16m -Wall -fno-warn-unused-do-bind
352352 else
353353 if impl(ghc >= 6.12)
354354 Ghc-Options: -Wall -fno-warn-unused-do-bind
355355 else
356356 Ghc-Options: -Wall
357357 if impl(ghc >= 7.0.1)
358− Ghc-Prof-Options: -auto-all -caf-all -rtsopts
358+ Ghc-Prof-Options: -auto-all -caf-all -rtsopts -with-rtsopts=-K16m
359359 else
360360 Ghc-Prof-Options: -auto-all -caf-all
361361 if os(windows)