See: http://java.sun.com/j2se/1.4.2/docs/api/java/lang/ Runtime.html#totalMemory()
There is no (Java) way to query the total amount of memory on the machine.


-hendrik

On Feb 17, 2005, at 10:20, Calvin Powers wrote:

Howdy,

Is there a way for a running Java program to query the memory size of
its JVM and to query how much memory is currently used/freed? Is there
anyway to query how much physical memory is present on the machine its
running on?

Thanks,
Calvin owers

_______________________________________________
Juglist mailing list
[email protected]
http://trijug.org/mailman/listinfo/juglist_trijug.org



_______________________________________________
Juglist mailing list
[email protected]
http://trijug.org/mailman/listinfo/juglist_trijug.org

Reply via email to