开发者

Tools to map threads to their memory usage?

开发者 https://www.devze.com 2022-12-19 11:41 出处:网络
Having some performance issues in a Weblogic 11g production system. As part of the debugging effort, I’m interested in finding a way to map threads to their memory usage, then seeing the stack to d

Having some performance issues in a Weblogic 11g production system.

As part of the debugging effort, I’m interested in finding a way to map threads to their memory usage, then seeing the stack to determine what part of the application is consuming so much.

Anyone know of a tool or method to do what I want to do?

I'm not interest开发者_开发百科ed in JProbe memory profiling as it requires too much overhead (taking snapshots of everything). Also, I've read about Heapwalker in NetBeans that seems promising.


Eclipse has a memory analyzer (or heap walker, if you will) called mat - http://eclipse.org/mat/.

I've used it in the past and it was pretty helpful. I don't remember off-hand all the features, but I do remember being able to identify "heavy" threads, querying for largest objects, and such.

The home page links to several tutorials and a blog that are useful as well.

0

精彩评论

暂无评论...
验证码 换一张
取 消