im trying to get the total ram size of windows os using JAVA but i got nothing. I was looking for any alternative of GlobalMemoryStatusEx too, but nothing again...
If anyone can help me please. Thanks in advance!
im trying to get the total ram size of windows os using JAVA but i got nothing. I was looking for any alternative of GlobalMemoryStatusEx too, but nothing again...
If anyone can help me please. Thanks in advance!
I found a possible solution to my problem. Using windows command line you can get much useful information so just needed some code that could send commands to CMD.EXE and receive the response. The solutión was in this topic
Using the command "wmic ComputerSystem get TotalPhysicalMemory" i get:
TotalPhysicalMemory
6352433152
I only will need tu parse the response!
Thanks for atention.