0

Coldfusion Debug and Heap Space Errors

Coldfusion, Railo

I was writing a quick script today to clean up some data for an import using Coldfusion 8.  It runs a single query and then loops over the results updating a different table.  Now before you roll your eyes I know this is not the best way to do this, but I needed it done quickly.  When I would run the page it would stop with a 500 Heap space error and Coldfusion would die.  I couldn't figure it out so I decided to try it on a development copy of Railo.  The page didn't finish, but I got a Debug out of memory error.  Which pointed me in the right direction.  I added in <cfsetting showdebugoutput="false"> and the page ran perfectly in Coldfusion 8 and Railo.

This is a good reason you should never have debug turned on in Production :).  Extra kudos for the Railo guys though.  Railo stayed up and working and also give me the debug information I need to figure out what the heck was going on.

 

 
Those Railo guys/girls are a great bunch. Nice to hear about more an more people trying Railo.
 
posted 468 days ago
Add Comment Reply to: this comment OR this thread
 
ladd said:
 
Frankly speaking, I've recently got some doubt as far as ColdFusion. Believe me that if ColdFusion allowed us to do what we needed we would have continued using it ( as we already had the code and had servers setup with Sandboxing etc.), and would have written a blog about the value of it, but it doesn't at the moment and Railo does (visit http://rapid4me.com to get better understanding of what I say) . Adobe ColdFusion is an awesome technology and I am nothing but an Advocate having based my business on it for the last 10 years, but at the same time we have to move with the times with regards to deploying a SaaS model and I do believe Railo is the better technology stack for doing that right now, especially for the issues we are trying to solve. Am I not right?
 
posted 175 days ago
Add Comment Reply to: this comment OR this thread
 

Search

Jeff   Roberson