Uploaded image for project: 'CouchDB'
  1. CouchDB
  2. COUCHDB-72

Long _design documents result in error_header_too_large error

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 0.7.2
    • 0.8
    • Database Core
    • None
    • OS X (Leopard) MacBook, plenty of RAM and disk.

    Description

      When first accessing a large view, CouchDB returns the following error both to Futon and its couch.log

      [Thu, 29 May 2008 17:53:21 GMT] [error] [emulator] Error in process <0.724.0> with exit value: badmatch,{error,error_header_too_large,[

      {couch_view,reset_file,4}

      ,

      {couch_view,start_update_loop,4}]}

      The threshold of view size to cause this error is somewhere between 1800 bytes (works) and 3500 bytes (breaks).

      Removing content from the design document to bring it below the threshold does not fix the problem, instead a new error is thrown:

      [Thu, 29 May 2008 17:46:16 GMT] [error] [emulator] Error in process <0.717.0> with exit value: {{badmatch,eof},[{couch_file,read_header,2},{couch_view,start_update_loop,4}

      ]}

      Attachments

        Activity

          People

            damienkatz Damien Katz
            jchris John Christopher Anderson
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: