1'use strict'; 2const path = require('path'); 3const v8 = require('v8'); 4 5v8.setHeapSnapshotNearHeapLimit(+process.env.limit); 6if (process.env.limit2) { 7 v8.setHeapSnapshotNearHeapLimit(+process.env.limit2); 8} 9require(path.resolve(__dirname, 'grow.js')); 10