Skip to content

Commit 4180330

Browse files
committed
test: use faster variant for rss in test-vm-memleak.js
1 parent 8b8620d commit 4180330

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎test/pummel/test-vm-memleak.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ const interval = setInterval(function() {
3434
} catch {
3535
}
3636

37-
const rss = process.memoryUsage().rss;
37+
const rss = process.memoryUsage.rss();
3838
assert.ok(rss < 64 * 1024 * 1024,
3939
`memory usage: ${Math.round(rss / (1024 * 1024))}Mb`);
4040

0 commit comments

Comments
 (0)