node/test/simple/test-memory-usage.js

7 lines
157 B
JavaScript

process.mixin(require("../common"));
var r = process.memoryUsage();
puts(inspect(r));
assert.equal(true, r["rss"] > 0);
assert.equal(true, r["vsize"] > 0);