OutOfMemory – Large MergeDocument
- This topic has 2 replies, 2 voices, and was last updated 8 years ago by .
Viewing 2 posts - 1 through 2 (of 2 total)
Viewing 2 posts - 1 through 2 (of 2 total)
- You must be logged in to reply to this topic.
Home › Forums › Open-Xml-PowerTools › OutOfMemory – Large MergeDocument
Tagged: OutOfMemoryException
There are some scenarios where the only solution is to build a 64-bit exe. I have never run out of memory when using 64-bit.
Hi,
Thanks for your answer. Compiling for 64bit didn’t make any difference – but probably the problem is not in OpenXmlPowerTools after all.
I made a small test app, just performing the merge. It completes fine (although it takes more than 30 minutes…) on the same server where the actual “serious” application crashes, and it allocates a lot of RAM (~7GB) for the merge process.
The actual application is a server application, running standalone (OWIN) as a Windows service. The 2GB limit is probably enforced by some of the surrounding infrastructure, I am struggling to find out where.