Skip to content

Tag: visualvm

Profiled application started too soon

When I try to perform the application startup profiling getting Profiled application started too soon have attached error message screenshot below. This warning shows after I forcibly killed a previously profiled application. Have restarted my system but still shows that warning. Thanks in advance. Answer Aft…

What is leaking int arrays in my program?

I have Java program that, over about 16 hours, is slowly filling the heap with integer arrays that the GC is not getting rid of. I only have VisualVM available to diagnose the problem, which is how I found that it’s int[] that is filling the heap. Any ideas how I can find the source of the int[] creatio…

Odd heap usage pattern

I have a repeating process that: gets some data from the database builds some objects in memory, adding to a Collection writes the data from the Collection to a file All of the objects/Collections go out of scope or are set to null after each iteration. (The Collection is reused for each iteration.) Using Jav…

VisualVM running JRE

I can’t get VisualVM working with eclipse, i was following these instructions http://visualvm.java.net/download.html and also these http://visualvm.java.net/gettingstarted.html The problem is that it cant see JDK location which is “C:Program FilesJavajdk1.8.0_05”, this happens when i try to …

Viewing MBeans through jstatd

I am trying to monitor all Java processes running on a server via jstatd. I’ve got it set up enough that I can connect with VisualVM and see all running processes. Most displays work fine, however certain things (especially CPU usage and MBeans) do not display. Instead, it says: MBeans Browser Data not …