Download Latest Version localedata.jar (843.2 kB)
Email in envelope

Get an email when there's a new version of Supernova Rom

Home / jdk / jdk1.6.0_25 / demo / management / MemoryMonitor
Name Modified Size InfoDownloads / Week
Parent folder
src 2012-01-01
MemoryMonitor.jar 2011-04-14 9.9 kB
README.txt 2011-04-14 800 Bytes
Totals: 3 Items   10.7 kB 0
#
# %W% %E%
#
# Copyright (c) 2006, Oracle and/or its affiliates. All rights reserved.
# ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
#


MemoryMonitor demonstrates the use of the java.lang.management API 
in observing the memory usage of all memory pools consumed by
the application.

This simple demo program queries the memory usage of each memory pool
and plots the memory usage history graph.

To run the MemoryMonitor demo

   java -jar <JDK_HOME>/demo/management/MemoryMonitor.jar 

These instructions assume that this installation's version of the java
command is in your path.  If it isn't, then you should either
specify the complete path to the java command or update your
PATH environment variable as described in the installation
instructions for the Java(TM) SDK.

Source: README.txt, updated 2011-04-14