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
680
Out of memory on DataTable. WinForm works fine.
posted

I have a datatable with 182K rows and 167 columns. I built 2 simple projects:

WPF

DataTable dt = GetTable();
dgMain.DataSource = dt.AsEnumerable();
    <Grid>
        <igDP:XamDataGrid Name="dgMain"/>
    </Grid> 

WinForm

DataTable dt = GetTable();
dgMain.DataSource = dt.AsEnumerable();

The WinForm loads fine as does the WPF form. However, the WPF gets a stuck clock and ultimately goes to an out of memory exception. The WinForm works as soon as it is loaded. both load about the same time.

 

Parents Reply Children
No Data