from my JavaBean I write binary data in response-OutputStream.
I figured out, that response OutputStream is wrapped through FastBufferOutputStream. That is why it is impossible to write the large amounts of data to client due to OutOfMemoryError. flush() is not overwriten in FastBufferOutputStream.
Have someone any idea, how can i solve the problem?