Jump to content
The simFlight Network Forums

Garbage collection with FSUIPC Client . NET ...


Recommended Posts

Hi, I just started experimenting with the FSUIPC Client DLL for .NET

It is very comfortable to use - a real success for anybody programming with .NET

But I see a very severe problem:

Whenever I exit my program which was started in VS2005, the application stays inmemory consuming actually some 14000 KBytes !!

I can't kick it off the memory manually, I have to close VS2005 after each code change and reopen it !!

This costs me days !!!

Somewhere else I was advised to do something like this:

System.Runtime.InteropServices.Marshal.ReleaseComObject(App)

App = Nothing

' Eventuell (im Notfall) noch:

GC.Collect()

GC.WaitForPendingFinalizers()

But this didn't help

Any ideas ? :oops:

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use. Guidelines Privacy Policy We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.