Java Performance: Analysing Memory Usage

I just come across this very useful blog post that discusses an Eclipse-based tool that helps to analyse memory usage/wastage in Java applications. Having never heard of this tool before, I will definitely be looking into it in the next few days.

Obviously, to me and most people, performance is very important, as Centruflow is a graphically-rich application for which users demand a fluid experience, both in getting the application started (where Java traditionally struggles), and then once using the application. There are a number of traps in Java given that the main user interface library Swing is single threaded, and all interactions with the user interface should be done in this thread by calling the event dispatch thread. Not knowing this can lead to all sorts of unresponsive user interfaces and thread safety issues.

If anyone out there has other tools they recommend for analysing performance, I would love to hear about them.

Thoughts on “Java Performance: Analysing Memory Usage”