Limit bundle sizes to 512MB (which should be very generous).

Bug: 71647
Change-Id: I8c898df1b84b5b1156c60c26426d04c212e05d08