我如何解决“的System.OutOfMemoryException" [英] How Do I Resolve " System.Outofmemoryexception"

查看:130
本文介绍了我如何解决“的System.OutOfMemoryException"的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



Hi,

"System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown"





i当我查找数据时获取此异常。





i getting this Exception when i look for the Data.

obj.advisor_name = adv_id23.ToString();
 obj.type = 7;
 Repeater23.DataSource = obj.Bind();
Repeater23.DataBind();

推荐答案

您没有提供足够的信息来查明过多的内存使用情况。因此,要么避免内存泄漏(通常是代码的一般设计错误的结果),请确保以较小的块处理海量数据内存或安装更多的物理内存,确定用户必须拥有的最小内存。



-SA
You did not provide enough information to pinpoint excessive memory use. So, either avoid memory leaks (usually they are the result of bad general design of the code), make sure you process massive data memory in smaller chunks or install more physical memory, determine the minimum of memory your users must have.

—SA


这篇关于我如何解决“的System.OutOfMemoryException"的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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