+1

Stefano

PS: Under java 1.5 we could even use the MemoryMXBean that gives also the information about the used memory (and seems not to be the total-free from the runtime).

Noel J. Bergman wrote:
As soon as we open the code for v2.4, I want to add a command to
RemoteManager:

   memstats [-gc]

to emit:

  "Free Memory: " + Runtime.getRuntime().freeMemory());
  "Total Memory: " + Runtime.getRuntime().totalMemory());
  "Max Memory: " + Runtime.getRuntime().maxMemory());

optionally doing a System.gc().

        --- Noel



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to