jHardware
jHardware copied to clipboard
When getting total memory on Windows, the return is null
When I run this code:
MemoryInfo memory = HardwareInfo.getMemoryInfo();
System.out.println("Total memory: " + memory.getTotalMemory());
System.out.println("Free memory: " + memory.getFreeMemory());
I get this:
Total memory: null
Free memory: 1177064
Running on Windows 10 Enterprise 2016 LTSB (64 bits)
Hello,
I do not have currently a Windows 10 system to test. I will check it next week.
Could you confirm if you are using the last version of jHardware? (0.8.4)
Best regards
Hi, I've submitted pull request to address this issue. Tested on Windows 10. Regards