关于内存不足异常 [英] About Out of memory exception

查看:99
本文介绍了关于内存不足异常的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

长期以来,我遇到内存不足异常"的问题
REQ:我的数据表中有47列和1300000行.当我将这些数据绑定到数据网格时会引发上述异常.

谁能解决这个问题非常紧急

谢谢
venkatesh

hi everyone,

i have a problem with "out of memory exception" from the long days
REQ: i have 47columns and 1300000 rows in my data table.when i am binding these data to data grid its raising the above exception.

Can any one please solve this issue very urgent

Thanks
venkatesh

推荐答案

在查看之前减少/过滤数据集,没有人真正需要一次查看130万条记录.

尝试分页数据.
Reduce/filter your data set before viewing, no body really needs to see 1.3 million records at one time.

Try paging your data.


它会耗尽内存,不是吗?您正在谈论6000万个数据单元!

您可能需要考虑重新设计它……我想不出任何实际的要求来保存1M3数据行.这并不像用户要浏览它-如果您正在浏览数据以对其进行一些统计/数值分析,则可能需要考虑在页面中进行操作
well it would run out of memory, wouldn''t it? You''re talking about 60 million cells of data!

You might want to think about redesigning it ... I cannot think of any practical requirement to hold 1M3 lines of data; it''s not like a user is going to look through it - and if you''re walking through the data to perform some statistical/numerical analysis on it, you might want to think about doing it in pages


这篇关于关于内存不足异常的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆