What is the exact meaning of Runtime.getRuntime().totalMemory() and freeMemory()?
<p>I was always wondering the exact meaning of the return of Runtime.getRuntime().totalMemory(), Runtime.getRuntime().freeMemory(), and Runtime.getRuntime().maxMemory().</p>

<p>My understanding is, Runtime.getRuntime().totalMemory() returns the total memory my process is using. Is that correct? How about freeMemory() and maxMemory()?</p>

<p>Thanks.</p>
