System.outofmemoryexception:抛出了类型'system.outofmemoryexception'的异常。 [英] System.outofmemoryexception: exception of type 'system.outofmemoryexception' was thrown.

查看:170
本文介绍了System.outofmemoryexception:抛出了类型'system.outofmemoryexception'的异常。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的服务器是32位。虽然尝试导出15mb大小的Excel数据我得到了这个错误。



我尝试过:



我的服务器有7 GB的可用空间,但它显示内存不足异常。

my server is 32 bit.while try to export 15mb size excel data i got this error.

What I have tried:

my server have 7 gb free space, but it shows out of memory exception.

推荐答案

Out当应用程序用完用户内存时,会抛出内存异常;请参阅 Windows和Windows Server版本的内存限制(Windows) [ ^ ]。
Out of memory exceptions get thrown when an application runs out of user memory; see Memory Limits for Windows and Windows Server Releases (Windows)[^].


内存不足异常通常会告诉您软件不再获得RAM-Capacity,因此这与磁盘空间无关。检查您的资源分配,看看您是否用数据充斥您的ram。还尝试通过处理不必要的对象来识别可以触发垃圾收集的位置。
The out of memory exception usually tells you that your software does not get anymore RAM-Capacity, so this is not related to disk space. Check your resource allocations and see if you flood your ram with data. Also try to identify where you can trigger the garbage collection by disposing unnecessary objects.


这篇关于System.outofmemoryexception:抛出了类型'system.outofmemoryexception'的异常。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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