git.iko.soy/typeable/pandoc
on master help sign in
appveyor.yml: make executables LARGEADDRESSAWARE

using editbin, which comes with VisualStudio. This should help with #3669 (needs testing). Previously our executables could only access 2GB memory on Windows, even in 64 bit systems with lots of memory.

commit6ddf78b8a00e65a257f41593623f0efd0db7ecf4 authorJohn MacFarlane <jgm@berkeley.edu> dateMon 15 May 2017, 17:42 (9 years ago) parent0a9368e
1 file changed+5−1
appveyor.yml+5−1
appveyor.yml+5−1
@@ -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" )