am 5d4a3fed: Merge "Fix GetFreeMemory to use fooprint limit instead of max memory."

* commit '5d4a3fedcb18dadba5f50661e2a6d86890adfcbc':
  Fix GetFreeMemory to use fooprint limit instead of max memory.