Bug 845283 - Move formatting buffer onto the stack