Blog Layout

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 January 30, 2025
Microsoft admits bug that kills PC’s audio
By Simon Brown January 13, 2025
After talking on QO-100 with Mike, G0MJW i've ordered a LibreSDR from AliExpress where it's known as "SDR AD9363 AD9361 ZYNQ7020 ADI Pluto communication experiment platform".
By Simon Brown January 1, 2025
It's 2025, another new year.
Share by: