Just a fast question about components and memory so that I can be
extra exact for a chapter I'm writing on components.

When the cfinvoke tag is used with a component name, the component is
instantiated and a method of the component is run. In most cases,
there is no reference to the component returned. In other words, it's
'gone'. Is any of the memory used by the template request freed up at
the time? If another cfinvoke tag is run, will it use the allocated
memory that was used by the previous cfinvoke tag or will it take more
memory for the request. Basically, if I have 20 cfinvokes running in a
request, will it's memory usage grow for each invoke or will the
memory be stable (assuming all of the invokes use the same amount of
memory)?

If the memory used by a cfinvoke is freed up to be used by other
variables or cfinvokes, what about component references that are
killed. In other words, if I use cfobject to create a variable
containing a reference to a component, will overwriting that variable
free up that memory for other us during the template run or is that
memory no longer usable with the component still existing in memory
but no longer accessible?

Yes, strange and probably useless questions, but...

Thanks

--
Michael Dinowitz

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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:331494
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to