Hi,
We are using DynamicPDF Merger for .NET. and our users randomly get out of memory error when they are using our application to generate pdf portfolios.
Number and size of the files in portfolios are different, but usually between 50 to 100 file, each one 1-2 Mb. Making the portfolio size between 50Mb to 200Mb.
We have 2 Gig memory on each server.
Any suggestion on how to solve\improve this issue?
Error:
Inner Message: Exception of type 'System.OutOfMemoryException' was thrown.
Inner Stack Trace: at System.IO.MemoryStream.set_Capacity(Int32 value)
at System.IO.MemoryStream.EnsureCapacity(Int32 value)
at System.IO.MemoryStream.Write(Byte[] buffer, Int32 offset, Int32 count)
at zz93.ma.e(Byte[] A_0, Int32 A_1, Int32 A_2)
at zz93.ma.a(Byte[] A_0, Int32 A_1, Int32 A_2)
at zz93.if.a(DocumentWriter A_0)
at zz93.h0.a(DocumentWriter A_0)
at ceTe.DynamicPDF.IO.DocumentResourceList.b(DocumentWriter A_0)
at zz93.ma.u()
at ceTe.DynamicPDF.Document.Draw(Stream stream)
at ceTe.DynamicPDF.Document.Draw()