负载测试时的性能计数器
使用 250 个用户进行负载测试时,低于某些计数器值:
> Gen2 heap size : 1124196
> #bytes in all heaps : 2172104
> #GC Handles: 926
> # of pinned objects: 11 Large Object Heap size: 87128
> # total commited bytes: 3350528
> # total reserved bytes: 33546240
它们不断增加,直到达到该限制。
测试完成后,任务管理器中显示的 w3wp.exe 内存在应用 IIS 重置之前不会释放。
此外,在应用 IIS 重置之前,该应用程序无法访问(com+ 激活失败)
有人曾经遇到过这种情况吗?
谢谢
below some of the counter values while doing load testing using 250 users:
> Gen2 heap size : 1124196
> #bytes in all heaps : 2172104
> #GC Handles: 926
> # of pinned objects: 11 Large Object Heap size: 87128
> # total commited bytes: 3350528
> # total reserved bytes: 33546240
they were increasing, increasing till they reach that limit.
after the test finished, the memory shown in task manager for w3wp.exe is not releasing until an IIS Reset is applied.
also the application is not accessible till an IIS Reset is applied (getting com+ activation failed)
Anyone, had benn in that situation before?
Thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
是的,您需要像 ANTS 内存分析器。除此之外,请确保关闭 MemoryStreams、任何与 IO 相关的内容、SqlConnections...等。尝试对我们
using
语句进行任何操作实现了IDisposable
。检查与Page
实例绑定的对象的静态引用。Yes, you need a tool like ANTS Memory Profiler. Aside from that, make sure you are closing MemoryStreams, anything IO related, SqlConnections...etc. Try to us
using
statements on anything that implementsIDisposable
. Check for static references to objects tied to yourPage
instances.