Hi
I want a program to get information about RAM
How can i do that?
Hi
I want a program to get information about RAM
How can i do that?
There's a couple of memory-related methods in the Runtime
class, but note that they only give information about the amount of memory available to (or used by) the JVM, not the hardware it runs on.
Generally, Java is the wrong language to do this kind of thing, since it requires access to OS APIs that Java does not provide.