• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Tracing GC while stalking an OutOfMemoryError
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Tracing GC while stalking an OutOfMemoryError


  • Subject: Re: Tracing GC while stalking an OutOfMemoryError
  • From: Simon McLean <email@hidden>
  • Date: Thu, 22 May 2008 18:58:56 +0100

If you are using log4j you can also get it to print out memory usage which can be helpful:


# ***** P is set to be a RollingFileAppender.
log4j.appender.P=org.apache.log4j.RollingFileAppender
log4j.appender.P.Threshold=WARN
log4j.appender.P.File=/Logs/Pattern/log.txt
# ***** Max file size is set to 100KB
log4j.appender.P.MaxFileSize=1000KB
# ***** Keep one backup file
log4j.appender.P.MaxBackupIndex=100
# ***** R uses PatternLayout.
log4j.appender.P.layout=er.extensions.ERXPatternLayout
log4j.appender.P.layout.ConversionPattern=%W{n[]} %V{u used/f free}   %-5p %d{dd/MMM/yyyy HH:mm:ss} (%c{1}:%L) %X{logID} %m%n
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Tracing GC while stalking an OutOfMemoryError (From: Rick Innis <email@hidden>)
 >Re: Tracing GC while stalking an OutOfMemoryError (From: Chuck Hill <email@hidden>)

  • Prev by Date: Re: Deployment error on start up
  • Next by Date: WOWODC
  • Previous by thread: Re: Tracing GC while stalking an OutOfMemoryError
  • Next by thread: 5.3.3 API docs?
  • Index(es):
    • Date
    • Thread