This content has been marked as final. Show 4 replies
Set the variable you assigned the object to an empty string is what I
<cfset foobar = createObject("com","this.path")>
<!--- Do stuff with the foobar com object. --->
<cfset foobar = "">
Long back I've tried this option too. It will release that object from that variable and no gurantee that the memory would be released. In more we cant predicet when GC will fire to clear all those unused memory dumps.
how about using the ReleaseCOMObject(object) CF function?
Yes that would be really Good.... ReleaseCOMObject will do the needful