This explains the problem and luckily there is a hotfix for 7.1 MX, but
unlucky for us there isn't one so we are moving to CF8.
http://www.digitalmethod.co.uk/cf/
I've been testing CF8 over the past few days and this problem no longer
exists the memory usage barely budges even when I upload a 800mb file.
Doug
/charlie
I know you said there are no file uploads, but even if there were, the fix
wouldn't stop the memory spike from happening. It would just stop CF from
holding the memory usage indefinitely. Instead, the memory (while used) is
now released for garbage collection after the request is complete.
The JVM still then is free on its own to decide when to collect that garbage
(unused memory). How it works depends on the GC algorithm you may choose in
the setup of CF's jvm.config (best for more to leave it as is), and it may
depend also on the version of the JVM in use (1.4 by default in CF 6, 7, and
1.6 by default in CF 8). Sometimes the GC won't take place until total
memory used by CF increases to a high percent of available memory.
You can see both the use and the total memory in the various memory graphs
in FusionReactor. And in FR 3, you can even request a GC to take place in
the System Metrics page's memory graph. (Again, it's just a request. It may
not honor it.)
Bottom line: the spike itself isn't necessarily a problem. The question is
does it remain spiked to the point that subsequent increases in memory use
take the total memory used to or near the limit. In that case, eventually CF
will die.
If you'd like, do let us know if you see memory continuing to grow, and what
percent is used (that's reported on the FR memory pages as well). It will be
interesting to see how things go.
/charlie
-----Original Message-----
From: fusion...@googlegroups.com [mailto:fusion...@googlegroups.com]
On Behalf Of hay...@gmail.com
Sent: Monday, July 28, 2008 9:25 AM
To: FusionReactor
Subject: FusionReactor Group: Re: Sudden increase in memory used by CF
It just seems odd that a page with an error would continue to hold
memory--unless the page put stuff into a shared scope, like session,
application, or server. Can you confirm that that wasn't the case? (If you
happen to be on CF8 Enterprise, you could actually view what is in those
scopes with the Server Monitor or Admin API. Sadly, this just isn't
something FR can tell you.)
/charlie
-----Original Message-----
From: fusion...@googlegroups.com [mailto:fusion...@googlegroups.com]
On Behalf Of hay...@gmail.com
Sent: Wednesday, July 30, 2008 11:18 AM
To: FusionReactor
Subject: FusionReactor Group: Re: Sudden increase in memory used by CF
That said, there are two things you could consider, if you want to declare a
certain file to not be timed out by FR CP. First, you could add that page as
an exception in the CP Restrictions page.
Second, if you felt that you want to control things programmatically, not by
entry into the Admin, you could look at the FRAPI, which allows you to do a
lot of things programmatically. See the FRAPI guide on the FR site (or
linked to from within the FR help.)
Hey, BTW, care you let us know who this is behind the haylo75 address? I've
looked over the past dozen or so emails from you and see no name. No problem
if you choose to remain anonymous, but if it's just something you'd not
considered and you don't mind sharing, I'm sure some of us would appreciate
knowing who we're talking to when we're replying. :-)
/charlie
-----Original Message-----
From: fusion...@googlegroups.com [mailto:fusion...@googlegroups.com]
On Behalf Of hay...@gmail.com
Sent: Tuesday, August 05, 2008 9:52 AM
To: FusionReactor
Subject: FusionReactor Group: Re: Sudden increase in memory used by CF
/charlie
-----Original Message-----
From: fusion...@googlegroups.com [mailto:fusion...@googlegroups.com]
On Behalf Of hay...@gmail.com
Sent: Wednesday, August 06, 2008 10:33 PM
To: FusionReactor
Subject: FusionReactor Group: Re: Sudden increase in memory used by CF