I'm not aware of any packages that do this, but you can write your own.
The WinAPI is fairly straightforward to use once you get the hang of it, I and many others I'm sure are happy to help as well. This is likely what you want: [https://docs.microsoft.com/en-us/windows/win32/api/sysinfoapi/nf-sysinfoapi-globalmemorystatusex](https://docs.microsoft.com/en-us/windows/win32/api/sysinfoapi/nf-sysinfoapi-globalmemorystatusex). Just have to wrap it in Nim and call it :)