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
470
DataPresenterExcelExporter OutOfMemory exception
posted

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