社区
C#
帖子详情
错误:Exception of type System.OutOfMemoryException was thrown
炮子枪
2011-07-31 09:17:05
最近服务端程序总是出现这个错误:Exception of type System.OutOfMemoryException was thrown
Google这个错误,网上资料都是asp.net的,说是设置IIS的“memoryLimit”值,但我这个程序时WinForm的该怎么办?
...全文
778
3
打赏
收藏
错误:Exception of type System.OutOfMemoryException was thrown
最近服务端程序总是出现这个错误:Exception of type System.OutOfMemoryException was thrown Google这个错误,网上资料都是asp.net的,说是设置IIS的“memoryLimit”值,但我这个程序时WinForm的该怎么办?
复制链接
扫一扫
分享
转发到动态
举报
写回复
配置赞助广告
用AI写文章
3 条
回复
切换为时间正序
请发表友善的回复…
发表回复
打赏红包
炮子枪
2011-08-02
打赏
举报
回复
原因是系统动态调用了axWebbrowser控件,而Dispose无法完全释放,造成内存一路飙升。
然后我用Marshal.ReleaseComObject释放axWebBrowser控件,却总是抛出错误:指定的转换无效!
请问这是怎么回事?我用的是.net1.1
ggw128
2011-07-31
打赏
举报
回复
超出内存了。看看哪个环节数据量比较大的。
hen_ai_hen_ai_ni
2011-07-31
打赏
举报
回复
OutOfMemoryException,内存溢出了,是不是代码哪里出错了,或者是循环的数量太大了
SQL Server出现System.
OutO
f
Memory
Exception
异常的解决方法
今天在用SQL Server 2008执行一个SQL脚本文件时,老是出现引发类型为“System.
OutO
f
Memory
Exception
”的异常
错误
,脚本明明是从SQL Server 2008导出的,应该不会出错,研究了好久问题才得以解决。 出现这个
错误
的...
Exception
of
type
System.
OutO
f
Memory
Exception
was
throw
n.
Exception
of
type
System.
OutO
f
Memory
Exception
was
throw
n.Description: An unhandled
exception
occurred during the execution of the current web request. Please review the stack trace f
Exception
of
type
'System.
OutO
f
Memory
Exception
' was
throw
n.
[
OutO
f
Memory
Exception
:
Exception
of
type
'System.
OutO
f
Memory
Exception
' was
throw
n.] 在装有4G物理内存的32位OS机器上内存不足,原因是:The common language runtime
throw
s an
OutO
f
Memory
Exception
error if ...
Exception
of
type
'System.
OutO
f
Memory
Exception
' was
throw
n
最近刚换了服务器,开始测试的时候未发现什么问题,可是一旦同一时间段操作的人比较多的时候,就会抛出...
Exception
of
type
'System.
OutO
f
Memory
Exception
' was
throw
n. Description: An unhandled
exception
occu...
处理
Exception
of
type
System.
OutO
f
Memory
Exception
was
throw
n
OutO
f
Memory
Exception
就很可能会被抛出了。为了避免这样的情况,我们就必须将 “
memory
Limit” 适当调小,以让 IIS 更早的进行进程回收。 微软推荐的 ASP.NET 进程占用内存是不超过 60% ,并最好使计算出的实际...
C#
110,536
社区成员
642,578
社区内容
发帖
与我相关
我的任务
C#
.NET技术 C#
复制链接
扫一扫
分享
社区描述
.NET技术 C#
社区管理员
加入社区
获取链接或二维码
近7日
近30日
至今
加载中
查看更多榜单
社区公告
让您成为最强悍的C#开发者
试试用AI创作助手写篇文章吧
+ 用AI写文章