Resources & Performance

Simon Brown • November 9, 2021

Resource Leaks

During the testing phase of version 3.1 two major resource leaks have been found and resolved. Resource leaks cause one or more of:

  • Steading increasing memory (Commit size),
  • User interface slowing, and
  • Program freezing.

XML

The XML library used was Microsoft's MSXML version 6.0. SDR Console was leaking memory and handles each time the library loaded or saved a definition. As XML is used a lot in SDR Console MSXML has been replaced with pugixml.

GDI Objects

A coding error from the early days of SDR Console version 2 has been found and resolved. GDI Objects were being frequency created but never released.

Monitoring

Use the Task Manager to monitor process size, handles and GDI objects. To select the columns shown in the display just right-click on the title bar (Name, PID, Status...), then click on Select Columns.


As you interact with SDR Console the Handle and GDI object count will increase but should now stay within this range:

  • Handles - maximum of 2,000
  • GDI object - maximum of 2,000 (in practice closer to 1,200).
By Simon Brown May 1, 2025
SDR Television video from Australia
By Simon Brown April 30, 2025
Sounds Like... And before I start, may I apologise for the delay in finding the cause of the noise.
By Simon Brown April 25, 2025
YouTube Many thanks to Tech Minds, aka Matt M0DQW for this very complimentary YouTube video. I hope you enjoy it as much as I did.