So you want to analyze your program

Running a profiler to inspect your program can yield useful information such as: One such tool you can easily plug into Eclipse is tptp.

Basically, once installed, in addition to 'running' your program you can 'profile' your program (also via the Run menu). You can choose what you want it to look at (time, memory, threads, etc.) and execute it as you normally would. After it's finished you given a report of how your program ran.