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
320
Out of Memory Exception
posted

Hi,

I am using a XamDataGrid that binds to an ObservableCollection. Observable collection is populated using background worker. so everything it gets small amounts of data and adds to the Observable collection. There are approx 700,000 thousand records, when I ran the application. It is throwing an Out of memory exception. I have 4 GB of Ram and also the loading of data is taking longer. say for every 20,000 every 1-2 minutes. How to solve the Out of memory exception and also what is the fastest way of loading Observable collection.

 

Background worker returns data in data Table. data table is converted to Observable collection  and the returned as List. Now the list is sent to call back function so that it is added to the observable collection.

Thanks, Naveen

Parents Reply Children
No Data