I am working with a Java Swing Application. I am getting java.lang.OutOfMemoryError: Java heap space. I am not able to figure out which method is creating many objects or if there are any not needed references. I want to figure out the root cause for the problem. Kindly guide me about any tool (JProfiler) for this issue. Also as I have not used this tool before so any added information regarding the same will be helpful. Thanks in advance.
Krishna
Advertisement
Answer
The NetBeans IDE ships with a full featured profiler.