• 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: Out of memory
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Out of memory


  • Subject: Re: Out of memory
  • From: Mike Schrag <email@hidden>
  • Date: Wed, 7 May 2008 15:41:57 -0400

I've never used jconsole, but you should be able to use JProfiler to see exactly what's being held onto.

ms

On May 7, 2008, at 3:40 PM, Andrew Lindesay wrote:

Hello Miguel & David;

Aren't you just pulling too many data at the same time from the DB?

If that were true then one might expect the same failure to exhibit itself after a change of database, but this is not the case.


Use a simple profiler, like JProfiler or jconsole to track the memory usage. JProfiler is very powerful, but jconsole will be enough for most of these problems.

I've used jconsole and observed the relatively linear depletion of memory with the "saw tooth" GC pattern on top of it.


Does anyone know if there is a fix for this, other than moving from mySQL to another DB? I am experiencing the same problems.

One idea I had and plan to test soon is to proxy the traffic through CJDBC and hopefully be able to isolate the issue into an external process. Obviously not very helpful if this is your main database, but possibly helpful if it is an ancillary database.


cheers.

___
Andrew Lindesay
www.lindesay.co.nz

_______________________________________________
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


_______________________________________________
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: 
 >Re: Out of memory (From: David Griffith <email@hidden>)
 >Re: Out of memory (From: Miguel Arroz <email@hidden>)
 >Re: Out of memory (From: Andrew Lindesay <email@hidden>)

  • Prev by Date: Re: Out of memory
  • Next by Date: Re: [slightly OT] data modeling question
  • Previous by thread: Re: Out of memory
  • Next by thread: Wonder BugTracker
  • Index(es):
    • Date
    • Thread