@@ -36,10 +36,14 @@ test_script:
3636after_test:
3737 # .\ in the stack commandline seems to be .\windows\ (where the stack-appveyor.yaml is)
3838 - cd windows
39− - 7z a "pandoc.zip" pandoc.exe
39+ # allow use of > 2GB memory
40+ # see https://jonathanchang.org/blog/fixing-pandoc-out-of-memory-errors-on-windows/
41+ - editbin /LARGEADDRESSAWARE "pandoc.exe"
42+ - editbin /LARGEADDRESSAWARE "pandoc-citeproc.exe"
4043 - .\pandoc.exe -s --toc ..\MANUAL.txt -o MANUAL.html
4144 - .\pandoc.exe -s ..\COPYING.md -o COPYING.rtf
4245 - copy ..\COPYRIGHT COPYRIGHT.txt
46+ - 7z a "pandoc.zip" pandoc.exe pandoc-citeproc.exe MANUAL.html COPYING.rtf
4347 - |
4448 set VERSION=
4549 for /f "tokens=1-2 delims= " %%a in ('.\pandoc.exe --version') do ( if not defined VERSION set "VERSION=%%b" )