mentby.com
Blog | Jobs | Help | Signup | Login
loading

Memory leak in Tomcat 6.0.35 ( 64 bit)

Thu, 04 Apr 2013 01:05:47 -0700 Post Comments

Yes, but first please tell us where the original settings came from.

512M seems a little high to me for MaxPermSize.

You should enable JMX on this Tomcat instance and use VisualVM (or
JConsole), which you can find in the JDK bin directory to inspect the
process memory use.

p

Read more »

It will be logged to standard out, catalina.out or catalina.{date}.log

In your case, the timeBetweenEvictionRunsMillis check will happen every
1800000 millis, which is 1800 seconds, which is every 30 minutes for
connections that have been idle the same period, which may mean that
they don't qualify for eviction for over 30 mins, which in turn would
mean the next check - 30m later.

Maybe you should reduce that number during testing.

p

--

[key:62590808]

Read more »

What happens if you set it to 1?

p

--

[key:62590808]

Read more »