Resources & Performance
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).
