change back to using rubymotion for the getFreeMemory math