@coana-tech/cli 13.17.15 → 13.17.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cli.js +14 -1
- package/package.json +1 -1
package/cli.js
CHANGED
|
@@ -185202,7 +185202,7 @@ var require_version = __commonJS({
|
|
|
185202
185202
|
"use strict";
|
|
185203
185203
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
185204
185204
|
exports2.version = void 0;
|
|
185205
|
-
exports2.version = "13.17.
|
|
185205
|
+
exports2.version = "13.17.16";
|
|
185206
185206
|
}
|
|
185207
185207
|
});
|
|
185208
185208
|
|
|
@@ -185427,6 +185427,19 @@ var require_cli_core = __commonJS({
|
|
|
185427
185427
|
"excludeDirs"
|
|
185428
185428
|
]), null, 2));
|
|
185429
185429
|
logger_singleton_1.logger.info("available memory: %i MiB", os_1.default.freemem() / (1024 * 1024));
|
|
185430
|
+
try {
|
|
185431
|
+
const limits = await Promise.all([
|
|
185432
|
+
["stack", "-s"],
|
|
185433
|
+
["heap", "-d"],
|
|
185434
|
+
["virtual_memory", "-v"]
|
|
185435
|
+
].map(async ([name, flag]) => {
|
|
185436
|
+
const soft = await (0, command_utils_1.runCommandResolveStdOut)(`ulimit -S ${flag}`);
|
|
185437
|
+
const hard = await (0, command_utils_1.runCommandResolveStdOut)(`ulimit -H ${flag}`);
|
|
185438
|
+
return [name, { soft, hard }];
|
|
185439
|
+
}));
|
|
185440
|
+
logger_singleton_1.logger.info("ulimits: %O", Object.fromEntries(limits));
|
|
185441
|
+
} catch (e) {
|
|
185442
|
+
}
|
|
185430
185443
|
}
|
|
185431
185444
|
async createMetadataForReport(manager, startTime) {
|
|
185432
185445
|
const metadata = {
|