Click here to Skip to main content
15,742,011 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi All,

I am developing an application using with that i am using Telerik Radgrid.Radgrid contains 90,000 records.when user clicks on a button i need to export to excel radgrid data.For that purpose Radgrid contains one predefined method like


Now my question is when grid contains less umber of records i am not getting any exception. when Radgrid conatins more number of records(ex:- 90,000 records) i am getting Outofmemory exception.

How to solve my problem.

Buy more memory. Then install it in your computer. Or increase your virtual memory size. If you are using a 32-bit OS and have reached the maximum amount of memory, then get a 64-bit OS and increase its physical or virtual memory.

Or you could perform the export yourself using a serialized data structure and algorithm (to avoid using up RAM).
Share this answer
but how to increase virtual memory
Share this answer
Increase the size of your page file. Google for how to do that (depends on your operating system).
Share this answer

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900