diff --git a/test/leak-tester-batch.js b/test/leak-tester-batch.js index d57befda..5130ffe7 100644 --- a/test/leak-tester-batch.js +++ b/test/leak-tester-batch.js @@ -73,7 +73,7 @@ var run = CHAINED } db = testCommon.factory() -db.open({ xcacheSize: 0, xmaxOpenFiles: 10 }, function () { +db.open(function () { rssBase = process.memoryUsage().rss run() }) diff --git a/test/leak-tester.js b/test/leak-tester.js index 5fd81ae3..6419bf6b 100644 --- a/test/leak-tester.js +++ b/test/leak-tester.js @@ -41,7 +41,7 @@ function run () { } db = testCommon.factory() -db.open({ xcacheSize: 0, xmaxOpenFiles: 10 }, function () { +db.open(function () { rssBase = process.memoryUsage().rss run() })