long function ( ) { System . gc ( ) ; return getSizeOfFreeHeapMemory ( ) ; }
gets an estimate of the size of the free heap memory . note : this method is heavy-weight . it triggers a garbage collection to reduce fragmentation and get a better estimate at the size of free memory . it is typically more accurate than the plain version #getsizeoffreeheapmemory . concode_field_sep String UNKNOWN concode_elem_sep Logger LOG concode_elem_sep String commitId concode_elem_sep String commitDate concode_field_sep String getVersion concode_elem_sep String[] getJvmStartupOptionsArray concode_elem_sep long getOpenFileHandlesLimit concode_elem_sep RevisionInformation getRevisionInformation concode_elem_sep void logEnvironmentInfo concode_elem_sep long getSizeOfFreeHeapMemory concode_elem_sep String getTemporaryFileDirectory concode_elem_sep String getUserRunning concode_elem_sep long getMaxJvmHeapMemory concode_elem_sep void checkJavaVersion concode_elem_sep String getJvmStartupOptions concode_elem_sep String getJvmVersion