• Welcome to Forum.Deepsoftware.Com. Please login or sign up.
 
April 04, 2025, 01:12:52 am

News:

SMF - Just Installed!


TnrUSB memory leak

Started by bflorac, January 30, 2025, 04:09:22 pm

Previous topic - Next topic

bflorac

I installed MadExcept and turned on its memory leak detector.

If I take a new project, put a TnrUSB component on it and simple run nrUSB1.Update, when the program closes MadExpect reports some memory leaks. In fact, every time I run update, the number of items it finds increases.

I can send you the leak report if you have MadExcept. It looks like it is forgetting to free some Window handles and descriptors.

Running on Windows 11, Delphi 12, nrComm version v9.43. I know this is an older version of nrComm (which I have tweaked to work with Delphi 12). I'd update it if this is fixed.


Roman Novgorodov

Hello

Thank you for information.
We use by default following flag in project for quick leak checking:

initialization
  ReportMemoryLeaksOnShutdown := true;

We will check but Can you show more details: any log or screenshot?

Roman Novgorodov

DeepSoftware llc - The professional components for Delphi/CBuilder/.NET. The high quality custom software development.
Forums.nrCommLib.Com - DeepSoftware Tech Support Forum.

Roman Novgorodov

Please check in v9.71

Roman Novgorodov
DeepSoftware llc - The professional components for Delphi/CBuilder/.NET. The high quality custom software development.
Forums.nrCommLib.Com - DeepSoftware Tech Support Forum.