You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by prakash shanmugam <pr...@gmail.com> on 2007/04/10 07:58:28 UTC
Re: apache-tomcat-6.0.10 OutOfMemoryError
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 <ch...@christopherschultz.net> 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: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>
--
Thanks and Regards
S.Prakash