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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • 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.