If Aspose code allocates large memory chunks for large files during the save operation, that may fail on machines with larger kernel memory size. We could only reproduce the issue on Windows Server machines like that.
The solution would be to limit allocated chunks to about 20MB if the target file system is not local.
Thanks for providing us some details about the issue.
Well, we think you should try to save the Workbook to a ByteArrayOutputStream and then save that byte[] array to your remote file to check if it works fine. By the way, since you got large data to be written to remote file, so, there is possibility that these type of exceptions might occur.
If we write to a byte array first, that means we always need to spare enough memory for that (200 MB or more), even when system load is high. The file writing is then a separate next step. I was hoping it can be done faster, using less resources within workbook.save().
Please try the attached latest version of Aspose.Cells for Java. We have tested remote path like \\192.168.0.2\share\res.xls with a large excel file and it works fine.