If WG's CFC recommendation doesn't fix the problem, then you can create a 
new VB COM object that is just a lightweight wrapper for your other COM 
object, but which provides a release() method to set the object to 
nothing.  Of course your COM object will still be in memory, but at least 
the single-threaded one will be released and yours will take up less space.

Not perfect, or even close, but it's something.

Any chance there's an equivalent Java based third party object to do the 
same thing?

Sam

At 10:07 AM 1/21/2003, you wrote:
>I'm having a problem where CFMX takes too long to release a COM object from
>memory. Being a single threaded-object it gets stuck in my error trap from a
>few seconds to a couple of minutes unitil it's released. It's a third party
>object and cannot change it's threading model.
>
>Will setting the object to Nothing as in ASP or VB help?
>
>Thanks,
>
>Frank

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.

                                Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
                                

Reply via email to