Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

visualvm history graph

Is it possible in visual vm to set memory, process/gc activity etc. graphs to shift in time without lowering x scale? When application starts that graphs look nice, but after some time they toughly compressed along x axis and it becomes cumbersome to see what actually happens in application.

like image 895
michael nesterenko Avatar asked Jan 28 '12 12:01

michael nesterenko


1 Answers

You can do several things:

  1. Go to tools>options and change 'Monitored Host' and/or 'Monitored Data' to something smaller than default 60 minutes. 60 minutes mean that the graph will remember data for last 60 minutes.
  2. You can close other tabs ('Heap', 'Classes', 'Threads') to make a graph bigger.
  3. You can use Tracer Framework to display your data. Tracer framework allows you to zoom-in zoom-out collected data.

[NOTE: This answer was last updated in January 2016 to reflect changes in JVisualVM.]

like image 113
Tomas Hurka Avatar answered Sep 21 '22 06:09

Tomas Hurka