use int::MAX as the max object size

This fixes the fixed-size array component of #18726.