JSP default buffer size


Page buffer

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" %>

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s