Make parseMemorySize handle PB size

We need to use java BigDecimal to multiply the parsed size with the
petabyte size, since doubles loose precision at that magnitude.