am 1058c63b: Merge change 1909 into donut

Merge commit '1058c63b262c838a57301fde59b04c9fa0ee1fdc'

* commit '1058c63b262c838a57301fde59b04c9fa0ee1fdc':
  Fixed IndexOutofBoundException, improved how memory information is captured (run GC first)