When running patch on large files, I'm surprised to see that the heap usage of patch increases to roughly the size of the file being patched. Is that expected? Is there any combination of options that can patch with a fixed memory usage?
For example, I have have a diff that's 698.6K, patching a file that's 65.3M. I've SIGSTOPed patch and it's currently using ~70M of memory. Any advice would be appreciated.
Justin