-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Trygve Hardersen wrote: > What about: > > Runtime rt = Runtime.getRuntime(); > long free = rt.maxMemory() - (rt.totalMemory - rt.freeMemory()); >
What are you importing to get the Runtime class? - -- Peter L. Berghold http://www.berghold.net [EMAIL PROTECTED] Unix Professional Dog Agility Fan Crazed Cook "Those who fail to learn from history are condemned to repeat it." -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFIow33UM9/01RIhaARAtyzAJ9zGb4maonysgwtbLwlgAgmQknOQwCfQ0Fk +vgHwDumGQ07GnUuSaiKs/0= =SvxM -----END PGP SIGNATURE-----
