[Quickfix-users] Memory Leak - Please help.
Brought to you by:
orenmnero
From: Sam S. <sa...@if...> - 2008-03-20 11:45:45
|
Hi, I am reasonably new to QuickFix and I have a problem. I have been asked to look at part of a C# application using the .Net QuickFixEngine library. My problem is that the application seems to have substantial memory leak. Looking at the application using a .Net memory profiler, it looks like a lot of QuickFix objects are hanging around in memory. It looks like the .Net code is releasing all references to the objects, but some unmanaged code is retaining a reference. Am I missing something obvious? Should the developers who wrote it have been calling a .Dispose method or delete or something on these objects? One major source of the leak seems to come from messages that are created by the unmanaged C++ library and passed into our managed code. When our managed code finishes with them they do not seem to get cleaned up. Please help. Sam Smith Developer / Infrastructure Intelligent Financial Systems 110 St Martin's Lane London WC2N 4BA Telephone 020 7379 7328 Fax 020 7379 7329 |