Posted 22 January 2018, 12:08 pm EST
Hello,
We are using AR 12, Version 12.0.11689.0 for our exports (Section and Page). There appears to be a problem with AR libraries (specifically the SectionReport.Run() and XlsExport.Export(…) method calls) where AR is consuming all of the system memory (this depends, of course, on dataset size) – once the system memory has been consumed our exports receive Out of memory exceptions.
For example, exporting a simple report which has 3 columns and 275 K of rows of data is consuming 3 GB of RAM during the export process (simple watch using task manager). The size of the underlying data file “TestDataset_250k_rows.xml” is 51 MB and the exported Excel output size is 5 MB. Consuming 3GB of RAM to produce a 5 MB file is causing our clients a lot of problems.
Note : Our clients have more complex reports then the above sample with more columns and more data.
I ran the Performance Profiler in Visual Studio 2015, analyzed the report export, and noticed AR (the Run and Export methods above) are reported by the tool as consuming the memory. (See the attached report for more information.)
Please run the attached sample project, click on “Excel Export” button and notice the memory usage in task manager.
We also notice similar issues in PDF export as well.
Is this an AR issue? Can you please take a look the code in my sample project and let me how to reduce the memory usage and/or the best way to make the AR export calls.
Thanks,
Anwar