We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bbf51ad commit 49474c3Copy full SHA for 49474c3
1 file changed
test/parallel/test-memory-usage.js
@@ -19,11 +19,13 @@
19
// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
20
// USE OR OTHER DEALINGS IN THE SOFTWARE.
21
22
-// Flags: --predictable-gc-schedule
+// Flags: --expose-gc --predictable-gc-schedule
23
'use strict';
24
const common = require('../common');
25
const assert = require('assert');
26
27
+globalThis.gc();
28
+
29
const r = process.memoryUsage();
30
// On IBMi, the rss memory always returns zero
31
if (!common.isIBMi) {
0 commit comments