Maximize buffer size without causing startup crash