How can I tell what is using the memory when there is a heap overflow in Java?

Posted by Grae on Stack Overflow See other posts from Stack Overflow or by Grae
Published on 2010-12-31T22:12:11Z Indexed on 2010/12/31 22:54 UTC
Read the original article Hit count: 148

Hi all,

I know a little about profiling, but what I am particularlly insterest in, is what has all the memory when I get these heap over flow exceptions.

I will start getting them after about a hour of debugging. I am hoping there is some sort of dump or something, that I can use to get a list of what instances are around at the time the program starts.

By the way, sorry if this is a lazy question. I really shoud put sometime in learning about profiling.

Grae

© Stack Overflow or respective owner

Related posts about java

Related posts about memory-management