tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "prakash shanmugam" <prakash...@gmail.com>
Subject Re: apache-tomcat-6.0.10 OutOfMemoryError
Date Tue, 10 Apr 2007 05:58:28 GMT
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 <chris@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

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message