MFC memory leak

  • Thread starter Thread starter Slyness
  • Start date Start date
S

Slyness

Guest
When I open and close MDI doc/view objects over and over memory is leaked. Rogue Wave confirmed the memory leak with VS2013 but when they use VS2017 the leak does not occur. There must be some known issue in 2013 then...

The leak is small but gradual...and it is freed when the application closes and does not get detailed in the output window. But we open and close graph windows for our product each time our system is executed now...when in the past we just reused the MDI windows already available. So the leak was not noticed in our older versions. As the leak does not occur with the Rogue Wave (stingray) library when used with the newer compiler, this sure looks like it is isolated to MFC.

Please confirm if this leak is known. I can't be the only developer in the world having this trouble. And I can't find any comments about this issue online. But just setting a timer to open and close a document repeatedly shows the leak in a minute or two very clearly.

In one of the searches I found reference to a leak when a customized ribbon bar is used. We don't use anything like that, but the Stingray customizable toolbars might run into a similar leak? The article referenced a hotfix but with no number or link...just a long list of DLLs...

Sean

Continue reading...
 
Back
Top