I've fixed the out of memory issue. I've also re-checked extracting/recompressing Origins.pak, and it works fine for me with the previous version (1.8.5) & the current version (1.8.6), and both repack Origins.pak successfully for me.

https://s3.eu-central-1.amazonaws.com/nb-stor/dos/ExportTool/ExportTool-latest.zip