basho/riak_kv — pull request #415 by russelldb (2012-10-25 13:10:11+00:00)
Title: Fix stats for r15b02

OTP team removed the erlang:system_info(global_heap_size) stat
and so riak-admin status and riak stats fail hard.

This commit wraps the call to said stat in a try catch. On < 15b02
you get global heapsize. Otherwise you get the atom 'deprecated'.