Documentation为java.lang.Error说: An Error is a subclass of Throwable that indicates serious problems that a reasonable application should not try to catch 但由于java.lang.Error是java.lang.Throwable一个子类,我能赶
这种情况是,我正在对作为字符串返回XML文档的远程服务器进行WCF调用。 大部分时间这个返回值是几K,有时几K,偶尔有几百K,但很少可能是几兆(第一个问题是没有办法让我知道)。 这是造成悲伤的罕见场合。我得到启动堆栈跟踪: System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.
此问题与我的previous question有关。 故事情节:我有,如果你看一下任务管理器VMSize消耗大量的内存 的.NET应用程序。我试图找出消耗这些内存的东西。 您在VM大小下面的图片中看到的是2,46 GB alt text http://i060.radikal.ru/1003/1c/c2c144853eb5.jpg 好吧,现在我期待在.NET性能计数器 alt text http: