Can any one let me where the memory leaks can happen when we are developing Java based application.
I am aware of Database but apart from that, is there any other possible ways . Please list the scenarios
Can any one let me where the memory leaks can happen when we are developing Java based application.
I am aware of Database but apart from that, is there any other possible ways . Please list the scenarios
Are you currently experiencing memory-leak symptoms? If so, what are they?
There are several ways Java's garbage collector can be tricked into keeping garbage around in memory. However, the only way to be really sure where and how such things occurs is by empirically measuring your memory usage. Depending on your tools, you might already have a heap profiler handy.
Take a look at Memory leaks traps in the Java Standard API
or
Take a look at Common Java memory/reference leak patterns?
Did you do any searching by yourself already? It is generally a good idea, to search a bit yourself before asking such a question.