Re: Out of memory
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