am 42a46157: Fix 3379239: Catch exceptions from workaround for OOM.

* commit '42a461570b9c5502959e429c4f16ca5ca860c4f2':
  Fix 3379239: Catch exceptions from workaround for OOM.