Search code examples
javaprofilingvisualvm

CPU/Memory Tab Not Showing Up When Profiling With Java Visual VM


When I try to profile my java application with Java VisualVM the Threads, CPU and Memory profiling tabs do not show up. I do not have any JVM arguments for my program apart from "-Djava.library.path=lib/native", is there an specific argument that I need to use to enable profiling?

Other information:

  • Built with Netbeans
  • Uses LWJGL

Solution

  • Just so this will get removed from the Unanswered list:

    The problem was resolved by running the same version of VisualVM as the JVM (64-bits in this case). The successful profiling can be version specific.