|Josh Goldstein on 13 Jun 2008 16:19:20 -0700|
Here's what I found with a quick google:
They try to hide the answers, but if you scroll to the bottom you can still see them.
Maybe you should just let the server run and handle its own memory, like it was designed to do.
One of the posts brings up the point that the JVM doesn't release memory back to the OS.
You should be able to set that cap, but either way it's not 'leaked', it's being saved by the JVM until it needs it next.
A fair amount programmers I know are the OCD type, that have to meddle with everything, even if it isn't broken, constantly optimizing this and that, even though nothing needs it.
So maybe your programmers see the server 'using' a lot of memory and assume it's a leak, when it's really just the server using what memory it needs and holding onto it for when it needs it next.
After all, the computer has memory so programs can use it -- the memory doesn't help if it sits there unused.
I would examine exactly what really happens with performance, memory usage, etc. when you don't restart the server for a few days. Otherwise it's all conjecture and WAGs.
Also, who do you think knows more about garbage collection and memory management, the people who wrote the garbage collector, or the idiot web programmers?
-Josh, another idiot web programmer :)
----- Original Message ----
From: Tharun Kumar Allu <email@example.com>
To: Philadelphia Linux User's Group Discussion List <firstname.lastname@example.org>
Sent: Friday, June 13, 2008 8:45:12 AM
Subject: Re: [PLUG] Good practices to restart tomcat
This is exactly my point but the current setup when I joined this company has a restarting of tomcat every night and the developers are asking to do it for the new environment I built. I would like to read some good references on garbage collection and resource reclaiming before I discuss it with the java team and my manager.
I also am getting PermGen error and it was being caused by multiple deployments I think in the development environment.
Do you guys have a blog or reference where I can read the possible things that I should take care of when working with tomcat?
On Thu, Jun 12, 2008 at 7:49 PM, Josh Goldstein <email@example.com> wrote:
Tharun Kumar Allu
___________________________________________________________________________ Philadelphia Linux Users Group -- http://www.phillylinux.org Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce General Discussion -- http://lists.phillylinux.org/mailman/listinfo/plug