Relative Content

Tag Archive for javaprofilinganylogicvisualvm

Profiling with VisualVM does not work when I try to optimize Anylogic application in Java

I have an application written in Anylogic (mathematical modeling program that is written in Java and compiles its models into Java applications). I use VisualVM for my code optimization.
Sampling tool from VisualVM works without any problems. But I can’t do Profiling of my application (with start attribute -noverify) and it seems to me that this is due to its size. If my application is small (1-2 agent instances of the class), then Profiling works and even collects statistics. But with a larger application (about 30-40 instances of the class), the main window of Proflling VisualVM freezes and writes “Profiler Busy 50%” in the status bar. The application also freezes. After that, VisualVM writes that the application is not responding.
Profiler busy