View the memory usage of the JVM in eclipse
Here's how:
1. Create a file in the Eclipse root directory, the file name options, do not add the suffix directly saved, file content Org.eclipse.ui/perf/showheapstatus=true
2. Modify the Eclipse.ini file in the Eclipse directory to begin adding the following:
-debug
Options
-vm
Javaw.exe
Restart Eclipse, you can see the status bar below the JVM more information
Or
Let your eclipse also show the current amount of memory used by the JVM:
1, in the Eclipse root directory to create a file, file name options, file content org.eclipse.ui/perf/showheapstatus=true
2. Use this command to start Eclipse:e:/eclipse3.1/eclipse.exe-debug OPTIONS-VM Javaw.exe or right-click Eclipse Shortcuts, and fill in the line in "target".
3. When you start eclipse, you can see that the following status bar shows the current JVM memory usage and also enforces garbage collection.