Also, capability.getMemory is assuming that all containers of a type have the same memory footprint. It's fine for now, but in future we might add the ability to specify memory footprint during increase instance specifically.