explicitly disable branches of the hardware tree that are not needed, hopefully reduce memory footprint a bit
This commit is contained in:
1 parent
b8d5e25352
commit
f21269daa5
1 file changed
+7
@@ -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