title: How to check memory utilization by java program?
body: <p>Is there any native java code to check the memory utilized by the program, or the only way possible is to check memory utilized by the JVM itlself?<br>
  can this be done purely in java or we need external process to fulfill this job?</p>