You may want to put a maximum number of steps in your recursion for testing
to make sure you havent gotten into a loop. You can always take it out later
when you are sure the function is well behaved.

        ���
         ~
Don Vawter

----- Original Message -----
From: "Michael Corrigan" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Thursday, March 21, 2002 12:31 PM
Subject: Re: Recursion issue


> >From what I can tell yes.  It displays the information the way it is
supposed to and it appears that the browser stops 'thinking' and I can keep
working in the app, but a few minutes later it crashes.  Our administrator
is stumped.  I ran the function while he was watching the resource meter and
it looked like everything was fine.  I just wasn't sure if there was
something tricky with CF5 that I'm not aware of. I was told of a possible
memory leak with NT4 but we're properly patched so that doesn't appear to be
it.  I love using the recursive function because it's perfect for what I'm
doing (a series of parent child relationships).  I'm going to take a look at
the data and see if a parent and child are pointing to one another.  That
might screw things up.  I didn't think to handle that
> exception.
>
>
> Michael Corrigan
> Programmer
> Endora Digital Solutions
> 1900 Highland Avenue, Suite 200
> Lombard, IL 60148
> 630-627-5055 ext.-136
> 630/627-5255 Fax
>   ----- Original Message -----
>   From: Christopher Olive
>   To: CF-Talk
>   Sent: Thursday, March 21, 2002 1:05 PM
>   Subject: RE: Recursion issue
>
>
>   is the exit condition being met correctly in the recursive function?
>
>   christopher olive
>   cto, vp of web development, vp it security
>   atnet solutions, inc.
>   410.931.4092
>   http://www.atnetsolutions.com
>
>
>   -----Original Message-----
>   From: Michael Corrigan [mailto:[EMAIL PROTECTED]]
>   Sent: Thursday, March 21, 2002 12:28 PM
>   To: CF-Talk
>   Subject: Recursion issue
>
>
>   We have an NT4 box with CF5 and I have a recursive function that appears
to run fine, but about five -ten minutes later, our system resources max out
and locks the server.  I can't find anything about this and was wondering if
anyone has had a similar problem?
>
>   Thanks,
>
>   Michael Corrigan
>   Programmer
>   Endora Digital Solutions
>   1900 Highland Avenue, Suite 200
>   Lombard, IL 60148
>   630-627-5055 ext.-136
>   630/627-5255 Fax
>
>
>
> 
______________________________________________________________________
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to