Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
doox911-opensource opened this issue Oct 25, 2023 · 0 comments

Comments

@doox911-opensource
Copy link

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%
...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant