0

If I retrieve memory from freeMemory() method .... which memory is returned ... the free ram or the memory available to jvm.
same is the question for totalMemory().
Thanks.

2
Contributors
1
Reply
2
Views
12 Years
Discussion Span
Last Post by rickste_r
0

freeMemory() -
Returns the amount of free memory in the Java Virtual Machine

totalMemory()
Returns the total amount of memory in the Java virtual machine

Click on the java sun link for more information:
Java Sun Link

Hope that Helps!

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.