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

7 lines
142 B
JavaScript

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