OK, so may be a bounds check to ensure we don't exceed what we think is a reasonable amount of memory? We do similar things in the netty pipeline library.