Gadget blog, Android KitKat, stock firmware, Unboxing, Toggle Mod Major Crashing Bug Fixed, Android Jelly Bean, Studio Mobile, Apk + DATA, How To Set, Unlocker Photo In WhatsApp, Majestic Tab Firmware Flash File

Heap Visualizer (web app)

Heap Visualizer (web app) - welcome to the blog Gadget Blog we provide information about the latest gadgets, which we provide for you for a while, now we discuss about Heap Visualizer (web app) we have collected a lot of information about this article from many reliable sources, 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 :)



so much information about Heap Visualizer (web app)

just so much information about Heap Visualizer (web app), hopefully can provide benefits for you,

you just read the information about Heap Visualizer (web app) if this article feel useful for you please bookmark or share again with link https://everythingnbeyondblog.blogspot.com/2011/09/heap-visualizer-web-app.html thanks.

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

Related : Heap Visualizer (web app)

0 komentar:

Posting Komentar