git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3127 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
This commit is contained in:
msridhar1 2008-12-11 02:15:55 +00:00
parent 39de70c9a6
commit e1cc93d939
1 changed files with 2 additions and 1 deletions

View File

@ -495,7 +495,8 @@ public class Util {
}
/**
* @return the amount of memory currently being used, in bytes
* @return the amount of memory currently being used, in bytes. Often inaccurate, but there's no better thing to do from within
* the JVM.
*/
public static long getUsedMemory() {
gc();