ABlog - Lazyleland

爱吃米饭爱睡懒觉~~

  博客园 :: 首页 :: 新随笔 :: 联系 :: 订阅 :: 管理 ::

随笔分类 -  debug

摘要:32位操作系统的寻址空间是4G,其中有2G被操作系统占用,也就是说留给用户进程的内存只有2G(其中还要扣除程序加载时映像占用的部分空间,一般只有1.6G~1.8G左右可以使用)。如果进程运行中需要申请内存,而操作系统无法为其分配内存空间,则会产生内存不足的异常,在.net中为System.OutOfMemoryException(The exception that is thrown when there is not enough memory tocontinue the execution of a program.)。虽然最终的表现都为OutOfMemoryException,但其产 阅读全文
posted @ 2011-09-11 10:54 lazyleland 阅读(1137) 评论(0) 推荐(1)

摘要:今天遇到一个问题,客户端通过.net remoting从服务端返回一个DataTable对象时,有时会出现异常,通过日志,找到了以下两类异常信息:1,ArgumentOutOfRangeException:System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.参数名: indexServer stack trace: at System.Collections.ArrayList.RemoveAt(Int3 阅读全文
posted @ 2011-09-11 10:44 lazyleland 阅读(624) 评论(0) 推荐(0)

摘要:只画图,不解释哈。。。 阅读全文
posted @ 2011-09-11 10:43 lazyleland 阅读(187) 评论(0) 推荐(0)