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

7 lines
140 B
JavaScript

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