Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
Memory Leak in Infragistics.Documents.Reports.Report (c#)

Hi Team,

we are using Infragistics.Documents.Reports.Report to generate the PDF report including the images. when we generate the reports with 5k records, the memory shoot ups to 3.5 GB and not reducing back. when we try with 20k records, memory goes to 12 GB. we did some analysis and found that few part of the codes plays the major role on consuming or leaking the memory, below are those.


byte[] imageBytes = Convert.FromBase64String(inputString);
MemoryStream ms = new MemoryStream(imageBytes);
Image img = new Infragistics.Documents.Reports.Graphics.Image(ms);
return img;


var reportStream = new MemoryStream();
report.Publish(reportStream, exportFileFormat);

Expecting your quick support to resolve this issue as we have a release on next week.