I asked this question almost a year ago but did not have much luck. MikTex's
PDFLaTeX has been updated since, but the error is still there:
! TeX capacity exceeded, sorry [save size=50000].
Full source code at http://pastebin.com/XHazZ7Ux
Error log: http://pastebin.com/DtFcT9Cv
Same error with
Hopefully this time some will be able to shed light on the limitation, why is it in place and what can be done to increase the amount of memory available to compilation.