I have a performance problem(Hi-CPU) in my server application. But the issue only appears when the server has been running for a long time(a week on average). I tried to use Netbeans built-in profiler to diagnose the problem, but after running for a few hours it simply stops responding.
Is there any way to perform long term monitoring of the application? Thanks.
UPDATE:This is NOT a web application
You should take a look at Visual VM if you havent done so already (if you’re on JDK 6 update 7 or above). I’m sure its gonna be quite comforting since its an “adaptation” of Netbeans profiler into Java core.