0

our application is deployed in tomcat 6 , while monitoring the tomcat performance we came to know that tenured memory is keep on increasing it's about to almost reaching committed memory. I am worried after that it would stop working .

here are stats for tenured memory: Used:     296,436 kbytes Committed:     349,568 kbytes Max:   1,398,144 kbytes GC time:  15.116 seconds on Copy (348 collections)

 1.754 seconds on MarkSweepCompact (5 collections)

Please guide. Thanks, Aru

aru
  • 59
  • 1
  • 7
  • 16

1 Answers1

0

It may be caused by a memory leak in your application.

You can read get a bit of information about the different memory space: How is the java memory pool divided?

I suggest you run a profiler (ex: JProfiler) on your application, you will be able to detect objects that stay in memory (objects that do not get GC'ed).

Community
  • 1
  • 1
Simon Arsenault
  • 1,777
  • 17
  • 35
  • 1
    The jvisualvm (included with recent versions of Java) and the Eclipse Memory Analyzer tools are useful also in investigating memory usage of an application and have the advantage of being free. – Michael Mar 02 '13 at 19:34
  • Is there any way we can install jprofiler or any other tool on our windows server and can monitor the remote application on linux server. – aru Mar 07 '13 at 06:38
  • JProfiler can be installed on a server and be monitored from a distant PC. You need to configure the agentpath VM argument on your tomcat. You can find more information here: http://resources.ej-technologies.com/jprofiler/help/doc/indexRedirect.html?http&&&resources.ej-technologies.com/jprofiler/help/doc/helptopics/profiling/remote.html – Simon Arsenault Mar 07 '13 at 16:47