Release from memory. As it currently stands, each call to the C
object creates another object in memory. I have over a 1000 object
in memory right now and it is only going up. The only way to releas
the objects from memory is to shut down and recycle the package
--
natet
The issue seems to be related with the known issue with .Net framework SP1
http://support.microsoft.com/?id=317109
Office application does not quit after automation from Visual Studio .NET
client
http://support.microsoft.com/?id=884541
FIX: You cannot use the IDispatch interface on the AppDomain object after
you install the .NET Framework 1.1 SP1
KB article 884541 which mentions about a hot-fix for the similar issue.
Please note that this hot-fix is not re-distributable.
For more information on AppDomains, please refer to the article
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dncscol/htm
l/csharp05162002.asp
Regards,
Uday Takbhate [MSFT]
Microsoft Developer Support
--------------------
>NNTP-Posting-Date: Wed, 21 Sep 2005 14:49:33 -0500
>Newsgroups: microsoft.public.dotnet.framework.interop
>Subject: Re: How to dispose C# object created via VB6 COM component
interop?
>Date: Wed, 21 Sep 2005 14:01:24 -0500
>Organization: MS Usenet
>User-Agent: vBulletin USENET gateway
>X-Newsreader: vBulletin USENET gateway
>X-Originating-IP: 205.142.252.17
<OJ2yKutvFHA.3864@TK2MSFTNGP12.phx.gbl>
>Lines: 1
>X-Trace:
sv3-OoqvXvAQ2rldSawH1GhW2gFVfIecB9LdTOqPx1jszLeCrrPPgWCPOYNMtiXyHTRUWJd3wIVq
kuZdg2H!J8RC+vLd6joBrsWDD4dJrFWSeeC4uCIek1uKZaEXHLkgSehQ1YoUAhaz
>X-Complaints-To: abuse@giganews.com
>X-DMCA-Notifications: http://www.giganews.com/info/dmca.html
>X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
>X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your
complaint properly
>X-Postfilter: 1.3.32
>Path:
TK2MSFTNGXA01.phx.gbl!TK2MSFTNGP08.phx.gbl!newsfeed00.sul.t-online.de!t-onli
ne.de!border2.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.gigan
ews.com!local01.nntp.dca.giganews.com!news.giganews.com.POSTED!not-for-mail
>Xref: TK2MSFTNGXA01.phx.gbl microsoft.public.dotnet.framework.interop:9749
>X-Tomcat-NG: microsoft.public.dotnet.framework.interop
Release from memory. As it currently stands, each call to the C#
object creates another object in memory. I have over a 1000 objects
in memory right now and it is only going up. The only way to release
the objects from memory is to shut down and recycle the package.

Signature
natety
Willy Denoyette [MVP] - 26 Sep 2005 09:31 GMT
Sorry but I don't see how this might relate to the OP's problem, the OP
isn't using AppDomain objects.
Willy.
> The issue seems to be related with the known issue with .Net framework SP1
>
[quoted text clipped - 48 lines]
> in memory right now and it is only going up. The only way to release
> the objects from memory is to shut down and recycle the package.
Please post your .NET code, and please be more explicit, what do you mean by
"each call to the C# object", do you mean each "method" call or do you mean
each object creation call?
Willy.
> Release from memory. As it currently stands, each call to the C#
> object creates another object in memory. I have over a 1000 objects
> in memory right now and it is only going up. The only way to release
> the objects from memory is to shut down and recycle the package.
H Wu - 08 Nov 2005 15:46 GMT
I 'm also having the same issue as natety, where memory keep build up until
our VB application is totally shutdown. Is there way we can unload the all
those objects created in our Interop code? Read something about AppDomain but
I'm having problem with how load a NET dll. Any suggestion would be great
help.
> Please post your .NET code, and please be more explicit, what do you mean by
> "each call to the C# object", do you mean each "method" call or do you mean
[quoted text clipped - 6 lines]
> > in memory right now and it is only going up. The only way to release
> > the objects from memory is to shut down and recycle the package.