如果代码检测没有快速找到泄露,则您可能需要执行一些应用程序转储并分析它们以找到引用增加了的对象。
If code inspection does not quickly find the leak, you will probably need to take some application dumps and analyze them to find the objects whose references are growing in size.
对这种类型的内存泄漏情况,分析短时间内获取的堆转储(heap dump)非常重要,这样可以观察正在快速减少的可用内存。
For this type of memory leak case, it is important to analyze a heap dump taken within the short span of time the free memory is observed to be dropping quickly.
虽然简单地将消息转储到服务器控制台(以及log . nsf文件)并不总是一种良好的错误记录技术,但若您需要快速完成某些临时记录任务,那么这是一种简单的方案。
While it's not usually a good error logging technique to simply dump messages to the server console (and log.nsf file), if you need to do some quick temporary logging, it is an easy answer.
应用推荐