Re: ColdFusion - Long Running Processes - Garbage Collection - structDelete

2011-12-19 Thread Cameron Childress
CF5 was insanely stable. I remember when they released it, Allaire said something on the lines of yeah we don't really anticipate doing any patches to this, it rocks. And it did. I seem to remember that they brought in extra team members specifically to optimize certain bits of code too. They

Re: ColdFusion - Long Running Processes - Garbage Collection - structDelete

2011-12-18 Thread Judah McAuley
Not sure what kind of page you're doing, but have you looked at cfflush? That flushes out the request buffer which can be a significant overhead, especially in terms of perceived responsiveness, on long running pages. I don't know for 100% certain but I believe that that would often trigger a

Re: ColdFusion - Long Running Processes - Garbage Collection - structDelete

2011-12-18 Thread Mark Mandel
When doing big batch processing, I will often cfthread and then join the thread back at the end of the loop. This means that everything tied to the thread is now able to garbage collected, as the thread has been marked as expired. Mark On Sat, Dec 17, 2011 at 7:40 AM, Ryan Duckworth

Re: ColdFusion - Long Running Processes - Garbage Collection - structDelete

2011-12-18 Thread Cameron Childress
On Fri, Dec 16, 2011 at 3:40 PM, Ryan Duckworth ryanduckworth...@gmail.comwrote: structDelete on variables and local do *not work* in *ColdFusion 9*. You aren't really giving any symptoms or errors here. What exactly is the problem you are seeing? Out of memory errors? Do you have code to

Re: ColdFusion - Long Running Processes - Garbage Collection - structDelete

2011-12-18 Thread Dave Watts
Inside of loops in heavy lifting / long running processes ( scheduled pages ), we would use: structDelete( variables, foo ); This would, in theory, remove the pointer to the location in memory and allow for garbage collection. What makes you think that garbage collection was occurring

Re: ColdFusion - Long Running Processes - Garbage Collection - structDelete

2011-12-18 Thread Dave Watts
I don't know for 100% certain but I believe that that would often trigger a garbage collection as well. I don't know either, but I would be extremely surprised if this was true. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ http://training.figleaf.com/ Fig Leaf Software is a

Re: ColdFusion - Long Running Processes - Garbage Collection - structDelete

2011-12-18 Thread Aaron Rouse
Years ago we moved an App from CF5 to I believe it was CF6 and ran into issues with one of it's scheduled jobs never being able to finish. This job 26 or so LDAP calls that brought down 70k or so records and inserted them into the database and then did some misc other queries after all that. At

Re: ColdFusion - Long Running Processes - Garbage Collection - structDelete

2011-12-18 Thread Russ Michaels
funny you should say that, we still have an old win2k/CF5 server going, and we never have any problems with it at all. I do not even remember the last time any customer reported any problems with CF5, it has been going for years and years without a problem. CF was definitely more stable before it

ColdFusion - Long Running Processes - Garbage Collection - structDelete

2011-12-16 Thread Ryan Duckworth
We used a trick in *ColdFusion 8* that does not seem to work in *ColdFusion 9*. Inside of loops in heavy lifting / long running processes ( scheduled pages ), we would use: structDelete( variables, foo ); This would, in theory, remove the pointer to the location in memory and allow for garbage