You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by va...@apache.org on 2017/06/19 16:00:53 UTC

[couchdb] 01/01: Set max os processes to 3 and max memory to 8MB

This is an automated email from the ASF dual-hosted git repository.

vatamane pushed a commit to branch jenkins-pipeline
in repository https://gitbox.apache.org/repos/asf/couchdb.git

commit 3265b3291325446ba088ada22e74fccd9cd08f4b
Author: Nick Vatamaniuc <va...@apache.org>
AuthorDate: Mon Jun 19 12:00:41 2017 -0400

    Set max os processes to 3 and max memory to 8MB
---
 Makefile | 1 +
 dev/run  | 4 ++--
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/Makefile b/Makefile
index f6084c4..7021c55 100644
--- a/Makefile
+++ b/Makefile
@@ -116,6 +116,7 @@ endif
 	@rm -rf dev/lib
 	@dev/run -n 1 -q --with-admin-party-please \
             -c 'startup_jitter=0' \
+            -c 'os_process_limit=3' \
             test/javascript/run $(suites)
 
 
diff --git a/dev/run b/dev/run
index 8af3ac4..cd78d3c 100755
--- a/dev/run
+++ b/dev/run
@@ -265,10 +265,10 @@ def hack_default_ini(ctx, node, contents):
     mainjs = os.path.join(ctx['rootdir'], "share", "server", "main.js")
     coffeejs = os.path.join(ctx['rootdir'], "share", "server", "main-coffee.js")
 
-    repl = toposixpath("javascript = %s %s" % (couchjs, mainjs))
+    repl = toposixpath("javascript = %s -S 8388608  %s" % (couchjs, mainjs))
     contents = re.sub("(?m)^javascript.*$", repl, contents)
 
-    repl = toposixpath("coffeescript = %s %s" % (couchjs, coffeejs))
+    repl = toposixpath("coffeescript = %s -S 8388608 %s" % (couchjs, coffeejs))
     contents = re.sub("(?m)^coffeescript.*$", repl, contents)
 
     return contents

-- 
To stop receiving notification emails like this one, please contact
"commits@couchdb.apache.org" <co...@couchdb.apache.org>.