By default, a JSP page uses an area of memory known as a page buffer which is set as 8 KB by default, see ref.
And it is required if the page uses dynamic globalization support content type settings, forwards, or error pages.
You can ad in the page directive the attribute “buffer” like this to change this buffer:
~~~ <%@ page buffer="64kb" ... %> ~~~
And actually, you can disable it with using:
~~~ <%@ page buffer="none" %> ~~~