• 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: Memory leak but only on Red Hat
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Memory leak but only on Red Hat


  • Subject: Re: Memory leak but only on Red Hat
  • From: Q <email@hidden>
  • Date: Wed, 1 Dec 2010 16:04:46 +1000


On 01/12/2010, at 3:36 PM, D Tim Cummings wrote:

We have a sessionless app that we have been running for years on Mac OS X on XServes.  We recently moved it to Red Hat servers and now we are getting Out of Memory errors even though we have significantly increased the memory available.  Red Hat is using the java sun jvm 1.6.0_20 64 bit, while the Mac servers were running java from Apple 1.5.0_24.  I also tried on my Mac workstation using Apple java 1.6.0.22 64 bit and the memory appeared to be getting garbage collected without problem.

I configured the app to do a heap dump when the error occured (Additional arguments -XX:+HeapDumpOnOutOfMemoryError ) and used the Eclipse Memory Analyzer Tool (http://www.eclipse.org/mat) and it reported the following problem suspects:

1,296 instances of "java.lang.Thread", loaded by "<system class loader>" occupy 111,947,632 (43.21%) bytes.
1,292 instances of "er.extensions.eof.ERXEC", loaded by "java.net.URLClassLoader @ 0x2aaab375b7c0" occupy 37,478,352 (14.46%) bytes.
1,280 instances of "er.extensions.appserver.ERXRequest", loaded by "java.net.URLClassLoader @ 0x2aaab375b7c0" occupy 27,297,992 (10.54%) bytes. 

It looks to me like your app had 1280 odd concurrent request handling threads running. Is it likely that they are getting deadlocked or not running to completion? Do you launch any new threads programmatically?

Try making a thread dump of the app and see what's running.

-- 

Seeya...Q


Quinton Dolan - email@hidden

Gold Coast, QLD, Australia (GMT+10)





 _______________________________________________
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

  • Follow-Ups:
    • Re: Memory leak but only on Red Hat
      • From: D Tim Cummings <email@hidden>
References: 
 >Memory leak but only on Red Hat (From: D Tim Cummings <email@hidden>)

  • Prev by Date: Memory leak but only on Red Hat
  • Next by Date: Re: Memory leak but only on Red Hat
  • Previous by thread: Memory leak but only on Red Hat
  • Next by thread: Re: Memory leak but only on Red Hat
  • Index(es):
    • Date
    • Thread