Hi there,
I am experiencing a problem with an application which uses WCL, the memory use of the application process is growing at a constant rate of 5MB/hour after a week of continuous use this gets up to nearly a gig. I was wondering are there any common gotchas that I should look out for when using WCL?
I am calling .Dispose() on any WCL objects as soon as I have finished with them. The only objects which stay alive for the entire app lifetime are the wcl.wclAPI and any wcl.wclBluetoothRadio found in an initial call to the wcl.wclBluetoothDiscovery.EnumRadios() method. I also use an instance of wcl.wclAuthenticator with any wcl.wclBluetoothRadio instance.
The application scans, pairs and sends small files to any local devices found.
There might well be issues else where in the application so I will continue looking, just wanted to ask in case there was a common mistake that I might be making.
Thanks