> From: dharshana vanderbona [mailto:[EMAIL PROTECTED] > Subject: Fwd: garbage collection problem with class > sun.reflect.GeneratedMethodAccessor > > After running the system for sometime with around 50 users I noticed > that the system is starting to fillup the memory. But strangely even > after all the users have disconnected, the amount of used memory did > not change (see below).. > > Thereafter I put <%System.gc();%> inside a jsp and called it, and I > was able to see that it freed up all the memory and brought the > application to normal state again... > > Can someone please let me know what is going wrong here..
Nothing's going wrong - all that you've described is perfectly normal and expected behavior. Garbage collection does not run until it has to, or it's forced, via the System.gc() call. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]