Skip to content
Advertisement

Tool for java.lang.OutOfMemoryError: Java heap space , Java Swing Application

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.

User contributions licensed under: CC BY-SA
8 People found this is helpful
Advertisement