OK, I have a memory leak. It is most likely in the GUI or an ExecutorCompletionService. What is the options for monitoring program memory?
Yes, I get out of memory error. I have set -XX:+HeapDumpOnOutOfMemoryError on the vm arguments in eclipse to generate the dump file. The situation is there is a ExecutorCompletionService running a thread pool of computationally intensive tasks. The threads signal the gui thread with intermediate results.
I'm in the process of reviewing the unit test for the ExecutionController class, and was wondering if I can integrate memory monitoring into the unit test.
Regarding the profiling options, I did this successfully last month, but I don't remember the procedure or the pro filler used. I opened a separate window and monitored real time snap shots from an externally running monitor. I vaguely remember some difficulty in identifying the precise class member that had the memory leak, but enough information was provided to solve the previous problem.
I'll try the suggested monitoring options in the near future.