Solved

How to enable gc.log for tomcat?

Posted on 2014-11-17
3
68 Views
Last Modified: 2015-04-08
I would like to enable the garbage collection (gc.log) logging for tomcat. Appreciate if steps can be provided to get it enabled
0
Comment
Question by:beer9
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 2

Expert Comment

by:Mayavan R
ID: 40447028
Hi,

Here is the Link to Enabling garbage collection logging with Tomcat on Windows platform

Link : http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=2009563


Let me know if different paltform. Thanks
0
 
LVL 2

Accepted Solution

by:
Mayavan R earned 500 total points
ID: 40447031
0
 

Author Comment

by:beer9
ID: 40447582
Is there a way I can instruct java application to do FULL GC when there is OutOfMemory for heap usage?
0

Featured Post

How our DevOps Teams Maximize Uptime

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us. Read the use case whitepaper.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
JDBC error in Apache tomcat 6 267
constructor overloading 2 96
Wesphere App server multiple instances on single Windows server 5 87
Https with tomcat. A myth. 5 123
Configure Web Service (server application) I. Configure security for Web Services methods First, we need to protect Session bean which implements the service: 1. Open EJB deployment descriptor (ejb-jar.xml) in the EJB project that contains you…
Verbose logging is used to diagnose garbage collector problems. By default, -verbose:gc output is written to either native_stderr.log or native_stdout.log.   It is also possible to redirect the logs to a user-specified file. This article will de…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…

739 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question