简体   繁体   中英

How can I monitor the stack usage of a java application

I'm working on a Java application which is running very slowly. In order to increase the performance, I would like to monitor it first.

Using jvisualm I can monitor the heap size of my Java application, and jconsole - both tools are present in the JDK's bin folder - I can see the "Non-Heap Memory Usage", but as my application seems to contain quite some recursive calls, I'd like to know the amount of stack which is used.

Does anybody know a tool which allows me to monitor this?

Thanks

You can use https://www.yourkit.com/ . It will show you the use of non-heap memory also. Trial version of this is available for 14 days.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM