Dave, So if your right then a thousand iteration loop with each iteration doing a cfinvoke will cause the template request to keep growing in memory usage. There is no resource re-usage in the request.
This also means that the statement "after a method is invoked using cfinvoke, the component instance is destroyed" is not 100% true. It is destroyed, but nothing is gained by the destruction. I was always under the impression that using cfinvoke was 'less costly' than creating a variable to contain a component instance. :( > It's highly unlikely that GC will happen during a specific single page > request in such a way to delete component instances created and marked > within that same request. So, I'd expect that each invocation within > the request will end up allocating its own memory, and that memory > won't be reused until sometime after the page request has completed. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:331510 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

