akircher commented on issue #2383: OS Process Error URL: https://github.com/apache/couchdb/issues/2383#issuecomment-569447496 This appears to be an error within the view and not with CouchDB. I had a `for loop` in the code that would iterate (and `emit`) several times per document. However I had a few (~100) misformed documents that caused the `for loop` to run emit about a 1000 times on each of the 100 malformed documents. Once I put a check into the view to make sure the loop only ran on well-formed documents the views began to compile. In an ideal world, CouchDB would have a better error message here to help quickly diagnose the issue but I know the team is busy with v3.0 and v4.0 so I think that is a better use of their time than improving this error message. Thus I am closing for now, but feel free to reopen if someone wants to work on this. Thanks again to Nick for the help. You all make the couchdb community great and welcoming.
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
