> Hi Adam. Yes, I agree with you on that, but I don't have
any choice in the
> matter. Of course, if CF simply cannot deal, then the
decision makers involved
> in the process may be forced to do something different.
Well it's something to keep in mind if all else fails, as you
say. Strange
decision for them to make, though. Obviously you're not
describing the
whole situation, so there could well be a good reason for it.
> Maintain connections is checked and Max Pooled Statments
is 2000. The
> OPEN_CURSORS parameter is set to 300, which is low
because I'm running this on
> a development box.
That could be part of your problem (I'm just guessing here).
For a test,
try hacking the Max Pooled Statements down to 250 (ie: less
than the
open_curors). I'm surprised you're not getting "max cursors
exceded"
errors here. I often do, when the CF setting is higher than
the Oracle
one.
> > What happens if you force the connections to the DB
to close (I'm not sure
> > if the "Disable Connections" setting in CF Admin
does this (or whether that
> > functioanlity is achievble via the API?).
>
> Do you mean force the connections closed while the page
is processing?
> > If you run the process on a subset of records so as
to only bloat it (and
> > then complete), but not cause it to error, will the
run-of-the-mill GC
> > release the memory?
>
> Yes. As long as the processing completes before the
out-of-memory error, the
> objects are destroyed and GC releases the memory as
expected.
Yep. Run some processing... close connection... open
connection... run
some more processing. This is contingent of being able to do
the
connection handling with code, though; which I'm sure is
possible, but not
sure how.
> > What are your JVM config settings?
>
> Straight vanilla setup from the installation.
EEW. OK, doing that sort of lifting is not going to work on
the default
amount of RAM allocation, I would have thought.
Try upping the Xmx value to 1024m (as long as that's not more
than 75% of
the free RAM on the box).
Try experimenting with some of the other GC options. I'm out
of my depth
now as to what to suggest trying, but there's stacks of stuff
out there, a
good list of them being here:
http://blog.pixl8.co.uk/index.cfm/2006/12/29/Coldfusion-Tuning-links#more
--
Adam