Re: what is memory leaking
Tuesday, August 6, 2002 09:32 AM
I wouldn't worry about it.
"But consider grarbage collector only work when the server is idle." That's technically true, but in practice, if this is happening through a servlet you're almost guaranteed that the garbage collection will happen very soon after the object goes out of scope. It's just the nature of web applications; even the busiest sites have some latency between requests.
Also, I don't think it's possible that Java will throw an OutOfMemoryError while there are obsolete objects in memory. In other words, the garbage collector WILL run to make sure you don't run out of memory. It just might slow you down a little if the garbage collection happens at an inopportune time.
Re: <font color=red>what is memory leaking </font>
Monday, August 5, 2002 06:02 PM
you can deal with this problem by using JProbe. With this tool, u can identify those unused object.