I manually checked this by setting TEX_SIZE to a small value and watching the log reallocate progressively larger sizes.