if you mean the output buffer, this is cleared automatically at the end of the script. if your buffer is becoming very large and you are having memory problems then you can consider flushing the buffer at intervals in your code. flushing sends the output to the browser, cleaning destroys the current buffer.
i recall that there is also a setting in php.ini for limiting the buffer size.
if you don't mean the output buffer, what do you mean?