This is a migrated thread and some comments may be shown as answers.

StringBuilder OutOfMemoryException when exporting really huge XLS from GridView

1 Answer 35 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Michele
Top achievements
Rank 2
Michele asked on 03 Jun 2010, 08:05 AM
Hello,
I've tried (during some testing on a new SL4 application) to export a really big number of data (about 120.000 rows with 15column), and exporting to XLSML I got an OutOfMemoryException, this won't happen when exporting to csv (I think csv row size il lower then an XML row)

I've also read that StringBuilder's OutOfMemoryException is due to the fact that it requires a contigus array of memory.... I know that's also a constructor of StringBuilder that permits to allocate a stringbuild of wanted size.... do you think it's possibile in some way of adding a feature for handle really huge data??

Thanks
Paolo

1 Answer, 1 is accepted

Sort by
0
Vlad
Telerik team
answered on 03 Jun 2010, 08:13 AM
Hi Paolo,

You may need to use our new Export() method. Please check this demo for more info.

Kind regards,
Vlad
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Tags
GridView
Asked by
Michele
Top achievements
Rank 2
Answers by
Vlad
Telerik team
Share this question
or