I\'m still learning the ropes of Java so sorry if there\'s a obvious answer to this. I have a program that is taking a ton of memory and I want to figure a way to reduce its
Java JDK comes with JVisualVM under bin folder, once your application server (for example is running) you can run visualvm and connect it to your localhost, which will provide you memory allocation and enable you to perform heap dump
For more detailed steps on how to enable: http://sysdotoutdotprint.com/technologies/java/6