You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@couchdb.apache.org by GitBox <gi...@apache.org> on 2018/10/20 17:19:52 UTC
[GitHub] wohali commented on a change in pull request #340: Add a paragraph
about tuning couchjs
wohali commented on a change in pull request #340: Add a paragraph about tuning couchjs
URL: https://github.com/apache/couchdb-documentation/pull/340#discussion_r226833743
##########
File path: src/config/query-servers.rst
##########
@@ -59,6 +59,15 @@ Query Servers Definition
javascript = /usr/bin/couchjs /usr/share/couchdb/server/main.js
coffeescript = /usr/bin/couchjs /usr/share/couchdb/server/main-coffee.js
+ By default, ``couchjs`` limits the max runtime allocation to 64MiB.
+ If you run into out of memory issue in your ddoc functions,
+ you can adjust the memory limitation::
+
+ [query_servers]
+ javascript = /usr/bin/couchjs -S 536870912 /usr/share/couchdb/server/main.js ; 512 MiB
Review comment:
I don't believe you can use `;` as a comment character in the ini file.
Can you move the comment into the previous paragraph instead, so people cutting and pasting this snippet won't break their installations? Thanks!
----------------------------------------------------------------
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:
users@infra.apache.org
With regards,
Apache Git Services