I use it for its intended purpose.  When I create an object and am done
with it, I release it.  I also set the object = "".

<cfset obj = createObject(....)>

Stuff here...

<cfset releaseCOMObject(obj)>

<cfset obj = "">

I was told this is the best way since the java garbage collector will
pick up on the empty obj variable and clean it up when not needed
anymore.

I can't say that it helps performance, but if you *don't* use the
function, you could have memory problems.  Especially, if the COM
objects are leaky.

In other words, it won't help performance, but it could prevent bad
performance.

M!ke 

-----Original Message-----
From: Katz, Dov B (IT) [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, November 23, 2005 3:02 PM
To: CF-Talk
Subject: ReleaseComObject

Does anyone use ReleaseComObject(), and if so, have any success stories
about its positive impact on performance?
 
-Dov

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:225144
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to