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
120
UltraGridExcelExporter - OutOfMemoryException
posted

Hello,

Currently running on 15.1 and continue to get OutOfMemoryException trying to export less than 65,000 rows (including just trying to export one column).

var exporter = new Infragistics.Win.UltraWinGrid.ExcelExport.UltraGridExcelExporter();
   
exporter.Export( Grid, FileName, WorkbookFormat.Excel2007 );

Dion

Parents
No Data
Reply
  • 4625
    Offline posted

    Hi Dion,

    Thanks you for posting in our forums!

    Given the little information around your scenario that I have so far, I was not able to reproduce the out of memory exception you refer to. In my sample application, I successfully exported 65 000 rows both synchronously and asynchronously using Infragistics Windows Forms 2015.1 and setting export format to be Excel2007.

    For further reference, please run the attached sample application on your machine and let me know how it behaves. Feel free to modify it, in order to shed some light around your specific scenario and what might cause the out of memory exception to occur.

    UltraGridExcelExporter.zip
Children