Q
qazmlp
As I had mentioned in one of my previous thread, the process size of
all of the Java processes in my application keeps increasing. So, I
wanted to do profiling
for all these processes using HAT(Heap Analysis Tool). As it is the
first time, I heard about HAT, I wanted to try it out first with a
simple Java code(intentionally with some memory leaks). Basically, I
wanted to get familiarized about HAT usage.
But, the code with whatever I tried so far, I do not see any leaks
reported by HAT. So, now I suspect my knowledge about memory leaks in
Java.
Can anybody give a short explanation with some sample code having
memory leaks?
Thanks!
all of the Java processes in my application keeps increasing. So, I
wanted to do profiling
for all these processes using HAT(Heap Analysis Tool). As it is the
first time, I heard about HAT, I wanted to try it out first with a
simple Java code(intentionally with some memory leaks). Basically, I
wanted to get familiarized about HAT usage.
But, the code with whatever I tried so far, I do not see any leaks
reported by HAT. So, now I suspect my knowledge about memory leaks in
Java.
Can anybody give a short explanation with some sample code having
memory leaks?
Thanks!