I\'m trying to connect jvisualvm installed with jdk1.7.0_04 to a locally running java process. When I do this, jvisualvm shows a progress bar in the bottom left saying its
add the follwing argument in eclipse runConfigurations augments tab
-XX:+StartAttachListener
this will allow visualVM to connect instantly and sample and profiling will work.