Finding Memory Usage in Java

后端 未结 8 2444
野趣味
野趣味 2021-02-09 13:52

Following is the scenario i need to solve. I have struck with two solutions.

I need to maintain a cache of data fetched from database to be shown on a Swing GUI. Wheneve

8条回答
  •  天命终不由人
    2021-02-09 13:56

    Look into JConsole. It graphs the information you need so it is a matter of adapting this to your needs (given that you run on a Sun Java 6).

    This also allows you to detach the surveiling process from what you want to look at.

提交回复
热议问题