Search found 5 matches

by zillmer
Wed May 22, 2019 8:20 am
Forum: Software Development Kit (SDK) Questions
Topic: Best Practice for Config files
Replies: 1
Views: 717

Best Practice for Config files

Hi, I am developing a PDK application that needs to have some user-configurable parameters. The application will be installed using the add-on.xml method as described in the SDK. I am intending to use a text file (either in .ini or xml format) to store and retrieve some user configurable parameters ...
by zillmer
Mon Apr 29, 2019 9:10 pm
Forum: SimConnect Interface Questions
Topic: Memory leak in Managed SimConnect SetDataOnSimObject?
Replies: 9
Views: 1266

Re: Memory leak in Managed SimConnect SetDataOnSimObject?

Oliver,

I get the same rate as you are seeing with the code I pasted, but if I add additional data to the structure it seems to scale proportionately, so the more data is included in the SetData request the more memory builds up.

Simon.
by zillmer
Mon Apr 29, 2019 5:29 pm
Forum: SimConnect Interface Questions
Topic: Memory leak in Managed SimConnect SetDataOnSimObject?
Replies: 9
Views: 1266

Re: Memory leak in Managed SimConnect SetDataOnSimObject?

Thanks Elliptic, but this is C# code. You don't need to delete objects in the same way as is done in C++. The code you posted isn't recognised by C# in any event. I've done some performance profiling using Visual Studio and all I can see from that is that the additional memory that is being used is ...
by zillmer
Mon Apr 29, 2019 5:08 pm
Forum: SimConnect Interface Questions
Topic: Memory leak in Managed SimConnect SetDataOnSimObject?
Replies: 9
Views: 1266

Re: Memory leak in Managed SimConnect SetDataOnSimObject?

Oliver, Thanks. A rapid explosion in memory use is exactly what I experience in my app. I have created a very simple windows forms app for testing from scratch. I've pasted the code below. Running this code I get a continuous steady increase in memory usage by the app. This is about as simple as it ...
by zillmer
Mon Apr 29, 2019 3:48 pm
Forum: SimConnect Interface Questions
Topic: Memory leak in Managed SimConnect SetDataOnSimObject?
Replies: 9
Views: 1266

Memory leak in Managed SimConnect SetDataOnSimObject?

Hi, I'm trying to get to the bottom of a problem I am having using the managed SimConnect library. I am using this to create new SimObjects in Prepar3d and then send position updates to them using the SetDataOnSimObject function. My code functions perfectly in that the objects I want are created, th...

Go to advanced search