Response Buffer Limit Exceeded

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Steve Bywaters

    Response Buffer Limit Exceeded

    I have the following error on a page ... I can fix it by making a large-ish
    block of text (almostr 4k) a little smaller.
    But what is ASP actually complaining about?

    Steve



    Response object error 'ASP 0251 : 80004005'

    Response Buffer Limit Exceeded

    /lsm/TemplateKb2.asp , line 0

    Execution of the ASP page caused the Response Buffer to exceed its
    configured limit.


  • Steve Bywaters

    #2
    Re: Response Buffer Limit Exceeded

    ...and yes, the text is dynamicaly displayed, via asp.

    So it all adds up???


    Comment

    • Egbert Nierop \(MVP for IIS\)

      #3
      Re: Response Buffer Limit Exceeded

      "Steve Bywaters" <bywaters@bigpo nd.net.au> wrote in message
      news:ugQQqoLjEH A.3232@TK2MSFTN GP10.phx.gbl...[color=blue]
      > ..and yes, the text is dynamicaly displayed, via asp.
      >
      > So it all adds up???[/color]

      a max of 4K?
      I don't believe this.

      Note An ASP application uses internal server buffers when writing data to
      the client, irrespective of the value of Response.Buffer . As the application
      is writing data synchronously, the data buffer can be reused when the
      BinaryWrite function returns, while the server is writing the data
      asynchronously to the client. The server, in turn, makes a copy of the data
      into its internal buffers. As a result of this buffering, the ASP
      application should not try to send unreasonable amounts of data in a single
      BinaryWrite, but rather break it into fragments so as to avoid running out
      of buffer space. Should the buffer space be exceeded, ASP error 251,
      "response exceeds the buffer limit," will be returned. While the default
      maximum buffer size is 4MB, the server administrator may increase it.

      Using adsutil.vbs
      you can ask what's the buffer at the moment

      ADSUTIL GET W3SVC/1/Root/AspBufferingLim it

      If the parameter is not set, it should default to 4MB. In that cause, your
      script really generates 4MB which is not healthy :)
      [color=blue]
      >[/color]

      Comment

      Working...