30-12-2009, 10:25 PM | #1 |
Member
Join Date: Dec 2009
Posts: 76
Rep Power: 15 |
What is the purpose of the Runtime class?
* Runtime.freeMemory() –> Returns JVM Free Memory * Runtime.maxMemory() –> Returns the maximum amount of memory that the JVM will attempt to use. It also helps to run the garbage collector * Runtime.gc() |
Bookmarks |
|
|