I use Reactor with MG:U and I have not seen the memory leak.  My reactor
factory is in the default ColdSpring defintion, so it is rather convient to
just call getModelGlue().getORMService() and I get my reactor factory that
is cached.

I primarily only call reactor during my controllers as my views should only
ever loop over queries that have been inserted into the event object.

Teddy


On 12/12/06, Messer, Jon <[EMAIL PROTECTED]> wrote:

 In the app that I have had this problem with I have 3 reactor factories
in application scope,  I mainly use record objects not gateways and I use
them for single record updates and creation (with triggered related saves).
It performs great until something triggers the problem, and it happens fast.
It goes from everything OK at 50% memory usage to 100% usage in a few
seconds.


 ------------------------------

*From:* [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] *On
Behalf Of *Shannon Jackson
*Sent:* Tuesday, December 12, 2006 10:42 AM
*To:* [email protected]
*Subject:* RE: [Reactor for CF] Memory leak



I agree. While Reactor does have a few bugs, we are running some pretty
large apps (some with over 60 objects) with it and have not experienced
this.



- Shannon


 ------------------------------

*From:* [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] *On
Behalf Of *Jared Rypka-Hauer
*Sent:* Tuesday, December 12, 2006 12:38 PM
*To:* [email protected]
*Subject:* Re: [Reactor for CF] Memory leak



The whole discussion of Reactor and memory leaks started nearly 6 months
ago and it's cropped up several times with people saying "I have reactor in
one version of the site and not in the other and the one with Reactor blows
up every {6 to 48} hours." I'm starting to think this is a function of usage
and/or developer "error" (error in the sense that the dev is doing something
that's not quite kosher and different than the plenty of people who DON'T
have this issue). I'm not coming down on anyone, but I think we might want
to switch this conversation from "Reactor is causing memory leaks" to
"what's different between those that have the issue and those that don't
have the issue?"



Even Doug was having issues with ReactorBlog and a memory leak that would
down his instance every n-hours... so Dave, how are you using Reactor and
it's generated objects? Are you using Records as "beans" and passing them
around? Are you using the TOs instead?



Do you keep ReactorFactory in the application scope?



I think we should be focusing on finding the differences between one
implementation that bombs and one that doesn't...



Anyone?



J



------------------------------------------------

Jared C. Rypka-Hauer

Continuum Media Group LLC

http://www.web-relevant.com

Member, Team Macromedia - ColdFusion



"That which does not kill me makes me stranger." - Yonah Schmeidler





On Dec 12, 2006, at 12:20 PM, Dave Shuck wrote:



For what it is worth, we exclusively use Mach-II/Reactor on InstantSpot.
Our memory has stayed on a completely flat line since we launched it in
early September, with only slight increases during heavy traffic times as we
expected, but is subsequently released as it should. We have only restarted
the server once and it was due to an unrelated ColdFusion issue regarding
mail queues.

~Dave

On 12/12/06, *Messer, Jon* <[EMAIL PROTECTED]> wrote:

I have this exact problem although less frequently. I am using ModelGlue
Unity with reactor and running on CF with the internal JRun. The process
memory maxes out occasionally and the server stops responding. I haven't
tracked it down yet, and I can't replicate it under controlled
circumstances.

I installed the 10 day demo of Fusion Reactor to see if that would show
anything. When it happened it was a single request that just chews up
the memory (but not the CPU's), if I kill that thread the server
recovers. If I then rerun the request that caused the problem it works.
So it's very intermittent. I wasn't sure if it was my code, reactor or
ModelGlue.

I haven't solved it yet, though sorry.



-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
-- --
Reactor for ColdFusion Mailing List
[email protected]
Archives at: http://www.mail-archive.com/reactor%40doughughes.net/
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
-- --
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
-- --
Reactor for ColdFusion Mailing List
[email protected]
Archives at: http://www.mail-archive.com/reactor%40doughughes.net/
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
-- --
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
-- --
Reactor for ColdFusion Mailing List
[email protected]
Archives at: http://www.mail-archive.com/reactor%40doughughes.net/
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
-- --




--
<cf_payne />
Adobe Certified ColdFusion MX 7 Developer
Atlanta CFUG (ACFUG): http://www.acfug.org


-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
Reactor for ColdFusion Mailing List
[email protected]
Archives at: http://www.mail-archive.com/reactor%40doughughes.net/
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --

Reply via email to