Note that uv_get_total_memory() can return < 0 on error:
https://github.com/joyent/libuv/commit/344d676bb2a2bc190cfd05e340b2cc3b219e0317