• 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: Andrew Lindesay <email@hidden>
  • Date: Thu, 8 May 2008 07:40:34 +1200

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


  • Follow-Ups:
    • Re: Out of memory
      • From: Mike Schrag <email@hidden>
References: 
 >Re: Out of memory (From: David Griffith <email@hidden>)
 >Re: Out of memory (From: Miguel Arroz <email@hidden>)

  • Prev by Date: Re: OT: Daily currency conversion lists
  • Next by Date: Re: Out of memory
  • Previous by thread: Re: Out of memory
  • Next by thread: Re: Out of memory
  • Index(es):
    • Date
    • Thread