hai christopher,

 What u said is correct running garbage collector is not a good practice
because it will slow down the application, can you suggest any other
alternative way to overcome the out of memory error.


On 3/16/07, Christopher Schultz <[EMAIL PROTECTED]> wrote:

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Prakash,

prakash shanmugam wrote:
> One more way to over memory.out.oferror is to run the garbage collector
at
> reasonable intervals.

This is bad advice: the garbage collector will run itself at appropriate
intervals. Also, there's no way to force garbage collection to occur.
Lastly, putting GC calls in your code can lead you to believe that you
are actually accomplishing something when you really aren't.

- -chris

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFF+rCy9CaO5/Lv0PARAmL+AJ973q/0XiT816bBVpOL9YsQ3pbwMACbBT+f
qix2yZKUYFKdQseUlxoDqS4=
=bOjJ
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




--
Thanks and Regards
S.Prakash

Reply via email to