How to view the memory used by the JVM?
Use the Runtime class to get the total/free memory used by the JVM,
Runtime.getRuntime().totalMemory();
Runtime.getRuntime().freeMemory();
About this entry
You’re currently reading “How to view the memory used by the JVM?,” an entry on Quality Obsessed
- Published:
- 07.23.08 / 9am
- Category:
- Java
- Rate article:
Printer Friendly

No comments
Jump to comment form | comments rss [?] | trackback uri [?]