Merge change 7744

* changes:
  Make Process.getFreeMemory() return a long instead of an int, to better work on the simulator now, and phones 2 years from now.