free: handle memory statistics more than 4GB correctly

Integer.parseInt only can handle 32 bit integer, so it will throw
a exception if we have memory large than 4GB.

This patch use BigInteger.longValue() to replace Integer.parseInt().

Signed-off-by: Li Yu <raise.sail@gmail.com>