Slow encryption of large amount of files

Your problem is this: java.lang.OutOfMemoryError:
Your solution is this: WinFSP: How to use it

If you do not want to use WinSFT (=FUSE), you can also install and swich to Dokany instead. This should also solve your problem.