Hi Support,
We are using infragistics InfragisticsWPF4.DataPresenter.v11.2 for the excel exporting and sometimes we could get the outofmemory exception. Here is the stacktrace:
System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.
at Infragistics.Windows.DataPresenter.ExcelExporter.DataPresenterExcelExporter.GetCellFormatFromFormatSettings(DataPresenterExcelExporterHelper exportHelper, FormatSettings formatSettings, Field field, FieldLayout layout, Boolean isLabel)
at Infragistics.Windows.DataPresenter.ExcelExporter.DataPresenterExcelExporter.WriteSingleRecord(DataPresenterExcelExporterHelper exportHelper, Record record, FormatSettings cellFormatSettings)
at Infragistics.Windows.DataPresenter.ExcelExporter.DataPresenterExcelExporter.ProcessSingleRecord(DataPresenterExcelExporterHelper exportHelper, Record record, Int32 nestingOffset)
at Infragistics.Windows.DataPresenter.ExcelExporter.DataPresenterExcelExporter.ProcessRecordInternal(DataPresenterExcelExporterHelper exportHelper, Record record, ProcessRecordParams processRecordParams)
at Infragistics.Windows.DataPresenter.ExcelExporter.DataPresenterExcelExporterHelper.ProcessRecord(Record record, ProcessRecordParams processRecordParams)
at Infragistics.Windows.DataPresenter.ExportRecordEnumerator.ProcessRecord(Record record, ProcessRecordParams recordParams)
at Infragistics.Windows.DataPresenter.ExportRecordEnumeratorBase.Process(Nullable`1 duration)
at Infragistics.Windows.DataPresenter.ExportHelper.Export(IDataPresenterExporter exporter, IExportOptions options)
at Infragistics.Windows.DataPresenter.ExcelExporter.DataPresenterExcelExporter.Export(DataPresenterBase dataPresenter, WorkbookFormat workbookFormat, ExportOptions options, String filename)
Could you please help check this?
thanks,
Eric
Hello Eric,
I am just checking if you have any further questions on this matter. Please do not hesitate to let me know if you do.
Thank you for your post!
I have been looking into it and have created a small sample application in order to test the functionality, that you have reported.
Using the mentioned sample application I was not able to reproduce the issue. Would you please modify it with the functionality you are using, so it shows the issue?
This way I would be able to further investigate this matter for you and provide you with further information.
Thank you for the cooperation. Looking forward to hearing from you.