nickva commented on issue #4439:
URL: https://github.com/apache/couchdb/issues/4439#issuecomment-1446556794

   @big-r81 good idea about couchjs memory limit.
   
   Seeing `{{nocatch,{os_process_error,{exit_status,1}}},` point to that as 
well. 
   
   With documents that large couchjs process will crash because it has a heap 
size limit of 64Mb by default. You can try to increase using the `-S ...` 
parameter. That parameter can be inserted in the  
`COUCHDB_QUERY_SERVER_JAVASCRIPT=".../couchjs -S 536870912 .../main.js`.  
Normally that's defined in `bin/couchdb` startup script but you can set it 
outside of it and it will take your value. 
   


-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to