wohali commented on issue #1706: `unknown_error : shutdown` while querying a 
view
URL: https://github.com/apache/couchdb/issues/1706#issuecomment-434412323
 
 
   Objects that JS allocates dynamically end up on the stack. A lot of 
temporary variables in your views, large list/structure manipulation, emit()ing 
very large objects, or tail-end recursion can all lead to this.
   
   For complex JS views, upping the default stack size is a pretty normal thing.
   
   For simple JS views, consider using 
[Mango](http://docs.couchdb.org/en/stable/api/database/find.html) instead.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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

Reply via email to