Tech News Today, Marshmallow Custom Rom, Huawei, Run Programs, Network, Chromebook, Bank Account

Minggu, 25 September 2011

Heap Visualizer (web app)

Heap Visualizer (web app) - To all visitors of this blog, I say welcome and thank you for visiting the blog Tech News Today Look for all the things you need that are available on this blog. If not available, please leave suggestions and comments for the development of this blog. now we will discuss first about Heap Visualizer (web app) we have collected a lot of information from sources to create this article, so please see.

Articles : Heap Visualizer (web app)
full Link : Heap Visualizer (web app)

You can also see our article on:


Heap Visualizer (web app)


You're having some heap-related issues (OOM, long GC pauses) in production and do not have the liberty to fire up jconsole or install glassbox (or something similar) to diagnose the situation. What do you do Jack?



I these situations, I wished that
  • I could have a view of the Heap and Non-Heap sections simultaneously. 
  • I could then drill down into either or both the sections and view details of the different heap generations and sections as the application progressed 
  • I could do this by simply dropping an app (.war) into the app server to monitor the heap. 
Luckily I didn't waste too much time wishing for more and just wrote the darn thing :)

JVM Memory (Heap and Non-Heap) Visualizer


Well, in keeping with the philosophy of this blog I thought I'd share it so that it might be useful to someone someday.
I normally deploy the app as 'heap.war' so I can reach it at http://[server]:[port]/heap
Here's what you see when you first access it:





The screen shows the overall used/committed/max values for the 'Heap' and 'Non Heap' sections of the memory used by the JVM.
The UI is minimal and the colors have been chosen to present a 'console' experience.
There are two graphs, a bullet graph that plots the used, committed and max values for the respective portion of memory, and a line graph that plots the relative movement of the 'used memory' values.


If you click on the 'details' link you'll see something like this:


As you can see, you'll be able to see drill-down details of the 'heap' and 'non-heap' memory components and their respective memory usage and utilization characteristics.


The next version have customizable refresh-rate (it's currently set at 2 seconds), an option to invoke a Garbage Collection and a way to look at the detailed properties of the current JVM


The code is at http://code.google.com/p/heap-visualizer-webapp/
You can get the source and the download (.war) from the menu on this page.


Do post your feedback and feature requests :)



information Heap Visualizer (web app) has been completed in the discussion.

hopefully the article we give the title Heap Visualizer (web app) can provide knowledge for you in living everyday life in determining the gadget that suits your needs.

you just read the article about Heap Visualizer (web app) if this article is useful for you and want to bookmark it or share it please use the link http://sihanandi.blogspot.com/2011/09/heap-visualizer-web-app.html thank you and do not forget to comment if anyone.

Tag :
Share on Facebook
Share on Twitter
Share on Google+
Tags :

Related : Heap Visualizer (web app)

1 komentar:

  1. Do you want to know more about writing dissertation? Here you can get info how long is dissertation should be. It's really important to know

    BalasHapus