Long _design documents result in error_header_too_large error
-------------------------------------------------------------

                 Key: COUCHDB-72
                 URL: https://issues.apache.org/jira/browse/COUCHDB-72
             Project: CouchDB
          Issue Type: Bug
         Environment: OS X (Leopard) MacBook, plenty of RAM and disk.
            Reporter: Chris Anderson
            Priority: Minor


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}]}



-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to