On Tue, 15 Jun 2004, Endre St�lsvik wrote:

| On Mon, 14 Jun 2004, Woodchuck wrote:
|
| | Runtime.getRuntime().maxMemory() will get you the
| | maximum amount of memory for your jvm.
|
| Yeah, check out maxMem, freeMem and totalMem.. Are those something along
| the line of what you're looking for?

You might also want to try .gc() (force Garbage Collection) - run
freeMemory() right before and right after .gc(), print out the diff too.

  Interesting numbers, these - I can stay up all night watching them
unfold over my screen.. growing, shrinking.. growing .. growing ..
GROWING?? ah..  shrinking.. shrinking..

  You get the point..

Endre.


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

Reply via email to