dprint-plugin-prettier icon indicating copy to clipboard operation
dprint-plugin-prettier copied to clipboard

Fatal JavaScript out of memory: Ineffective mark-compacts near heap limit

Open doox911-opensource opened this issue 2 years ago • 0 comments

dprint 0.41.0

dprint.json:

{
  "typescript": {
    "quoteStyle": "preferSingle",
    "semiColons": "asi"
  },
  "prettier": {
    "printWidth": 100,
    "semi": false,
    "singleQuote": true,
    "trailingComma": "all",
    "vueIndentScriptAndStyle": true
  },
  "excludes": [
    "**/node_modules",
    "**/*-lock.json",
    "./dist",
    "./target",
    "./src/shared/api/openapi",
    "./playwright-report"
  ],
  "plugins": [
    "https://plugins.dprint.dev/prettier-0.27.0.json@3557a62b4507c55a47d8cde0683195b14d13c41dda66d0f0b0e111aed107e2fe",
    "https://plugins.dprint.dev/typescript-0.87.1.wasm",
    "https://plugins.dprint.dev/json-0.17.4.wasm",
    "https://plugins.dprint.dev/markdown-0.16.1.wasm",
    "https://plugins.dprint.dev/dockerfile-0.3.0.wasm"
  ]
}

Run: dprint fmt --incremental=false --verbose

WARNING: Formatting is slow for C:\[path_to_project]\test\jest\coverage\coverage-final.json
[VERBOSE] CPU usage: 19%
[VERBOSE] CPU usage: 27%
[VERBOSE] Low CPU. Increasing parallelism.
[VERBOSE] CPU usage: 27%
[VERBOSE] Low CPU. Increasing parallelism.
[dprint-plugin-prettier]
<--- Last few GCs --->

[24236:000002543EDB8110]    17592 ms: Scavenge 1389.4 (1413.5) -> 1388.1 (1417.8) MB, 1.85 / 0.00 ms  (average mu = 0.284, current mu = 0.255) allocation failure;
[24236:000002543EDB8110]    17599 ms: Scavenge 1391.9 (1418.0) -> 1389.8 (1418.5) MB, 2.42 / 0.00 ms  (average mu = 0.284, current mu = 0.255) allocation failure;
[24236:000002543EDB8110]    17604 ms: Scavenge 1392.2 (1418.5) -> 1391.1 (1419.8) MB, 3.57 / 0.00 ms  (average mu = 0.284, current mu = 0.255) allocation failure;
Error reading stdout message: failed to fill whole buffer


<--- JS stacktrace --->


#
# Fatal JavaScript out of memory: Ineffective mark-compacts near heap limit
#

[dprint]
[VERBOSE] CPU usage: 18%
[VERBOSE] CPU usage: 5%
[VERBOSE] CPU usage: 3%
[VERBOSE] CPU usage: 2%
[VERBOSE] CPU usage: 2%
[VERBOSE] CPU usage: 4%
...

doox911-opensource avatar Oct 25 '23 13:10 doox911-opensource