Closed fcharron closed 4 years ago
Platform: Windows 10.0.19041 x64
Result: TotalMem: 16978169856 TotalMemMb: 15.81
Expected: 16191.64MB
--
I'm guessing since .oos() reports "NOT_SUPPORTED", I'm hitting the extra /1024 at https://github.com/SunilWang/node-os-utils/blob/069f9cf51796564e950ede8a2a7251e990cbab43/lib/mem.js#L127, when I shouldn't.
fix!
https://www.npmjs.com/package/node-os-utils
npm install node-os-utils@1.3.2
@fcharron Thank you ~
Thanks for the quick response! I just tried it and it works great :)
Platform: Windows 10.0.19041 x64
Result: TotalMem: 16978169856 TotalMemMb: 15.81
Expected: 16191.64MB
--
I'm guessing since .oos() reports "NOT_SUPPORTED", I'm hitting the extra /1024 at https://github.com/SunilWang/node-os-utils/blob/069f9cf51796564e950ede8a2a7251e990cbab43/lib/mem.js#L127, when I shouldn't.