explicitly disable branches of the hardware tree that are not needed, hopefully reduce memory footprint a bit
This commit is contained in:
@@ -34,6 +34,13 @@ public class Telemetry : IDisposable
|
|||||||
computer.IsCpuEnabled = true;
|
computer.IsCpuEnabled = true;
|
||||||
computer.IsGpuEnabled = true;
|
computer.IsGpuEnabled = true;
|
||||||
computer.IsMemoryEnabled = true;
|
computer.IsMemoryEnabled = true;
|
||||||
|
// Disable everything else (true minimal mode)
|
||||||
|
computer.IsMotherboardEnabled = false;
|
||||||
|
computer.IsControllerEnabled = false;
|
||||||
|
computer.IsNetworkEnabled = false;
|
||||||
|
computer.IsStorageEnabled = false;
|
||||||
|
computer.IsBatteryEnabled = false;
|
||||||
|
|
||||||
|
|
||||||
computer.Open();
|
computer.Open();
|
||||||
CacheHardwareAndSensors();
|
CacheHardwareAndSensors();
|
||||||
|
|||||||
Reference in New Issue
Block a user