There are some sites that suggest to cut down on garbage collection set -Xmx
and --Xms to the same values. That is what we have been using for awhile and
it seems to keep things relatively stable. Plus giving it as much memory as
On Jun 1, 2011, at 8:57 AM, Rich Signell wrote:
> According this this article:
> it says
> the "OutOfMemoryError - GC overhead limit exceeded" exception is
> thrown by the garbage collector when it is spending way too much time
> collecting garbage. This error essentially means that you need to add
> more memory, or reconfigure your garbage collection arguments.
> So it seems like the same issue. Our settings are:
> export JAVA_OPTS="-XX:MaxPermSize=256M -Xmx2048m -Xms512m -server
> On Wed, Jun 1, 2011 at 11:47 AM, Ethan Davis <edavis@xxxxxxxxxxxxxxxx> wrote:
>> Hi Rich,
>> We haven't ever really fiddled with GC parameters, instead we leave the
>> whole GC settings up to the "-server" JVM.
>> We've never seen this error on our servers. It doesn't look like your
>> error message is related to the "OutOfMemoryError: PermGen space" issue
>> so I'm not sure "-XX:MaxPermSize" will help.
>> Have you tried adding more memory to the heap ("-Xmx")? And if so did it
>> On 6/1/2011 9:24 AM, Rich Signell wrote:
>>> THREDDS folk,
>>> Have folks played around with Garbage Collection tuning parameters
>>> besides "-XX:MaxPermSize" to help tomcat/TDS permgen errors?
>>> Our TDS tomcat is throwing "GC overhead limit exceeded" errors again.
>>> I know on the Unidata TDS page
>>> it says the only thing you can do is increase -XX:MaxPermSize, which
>>> only delays the problem, solved only by restarting tomcat.
>>> But in this Garbage Collection tuning article
>>> they describe many different options, and I'm wondering whether folks
>>> have tried using these, or whether they just don't do any good.
>> thredds mailing list
>> For list information or to unsubscribe, visit:
> Dr. Richard P. Signell (508) 457-2229
> USGS, 384 Woods Hole Rd.
> Woods Hole, MA 02543-1598
> thredds mailing list
> For list information or to unsubscribe, visit:
"The contents of this message do not reflect any position of the U.S.
Government or NOAA."
Supervisory Operations Research Analyst
Environmental Research Division
Southwest Fisheries Science Center
1352 Lighthouse Avenue
Pacific Grove, CA 93950-2097
e-mail: Roy.Mendelssohn@xxxxxxxx (Note new e-mail address)
"Old age and treachery will overcome youth and skill."
"From those who have been given much, much will be expected"