-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Self-service
- I'd be willing to implement a fix
Describe the bug
While doing yarn install
on my workspace yarn crash during the Resolution step with this output:
% yarn install
➤ YN0000: · Yarn 4.9.4
➤ YN0000: ┌ Resolution step
➤ YN0085: │ + swagger-ui-react@npm:5.28.0
➤ YN0085: │ - swagger-ui-react@npm:5.27.1
<--- Last few GCs --->
[65482:0x7f7c80008000] 206762 ms: Scavenge 4003.5 (4076.2) -> 3989.4 (4076.9) MB, pooled: 0 MB, 6.84 / 0.00 ms (average mu = 0.730, current mu = 0.574) allocation failure;
[65482:0x7f7c80008000] 211480 ms: Mark-Compact 4578.1 (4650.7) -> 4181.3 (4269.7) MB, pooled: 0 MB, 4285.62 / 0.00 ms (average mu = 0.471, current mu = 0.185) allocation failure; scavenge might not succeed
<--- JS stacktrace --->
FATAL ERROR: Reached heap limit Allocation failed - JavaScript heap out of memory
----- Native stack trace -----
1: 0x100294c34 node::OOMErrorHandler(char const*, v8::OOMDetails const&) [/usr/local/bin/node]
2: 0x10049a728 v8::internal::V8::FatalProcessOutOfMemory(v8::internal::Isolate*, char const*, v8::OOMDetails const&) [/usr/local/bin/node]
3: 0x1006c0147 v8::internal::Heap::FatalProcessOutOfMemory(char const*) [/usr/local/bin/node]
4: 0x1006be29f v8::internal::Heap::CollectGarbage(v8::internal::AllocationSpace, v8::internal::GarbageCollectionReason, v8::GCCallbackFlags) [/usr/local/bin/node]
5: 0x1006b0ec5 v8::internal::HeapAllocator::AllocateRawWithLightRetrySlowPath(int, v8::internal::AllocationType, v8::internal::AllocationOrigin, v8::internal::AllocationAlignment) [/usr/local/bin/node]
6: 0x1006b17d4 v8::internal::HeapAllocator::AllocateRawWithRetryOrFailSlowPath(int, v8::internal::AllocationType, v8::internal::AllocationOrigin, v8::internal::AllocationAlignment) [/usr/local/bin/node]
7: 0x100692d63 v8::internal::Factory::NewFillerObject(int, v8::internal::AllocationAlignment, v8::internal::AllocationType, v8::internal::AllocationOrigin) [/usr/local/bin/node]
8: 0x100b3186b v8::internal::Runtime_AllocateInYoungGeneration(int, unsigned long*, v8::internal::Isolate*) [/usr/local/bin/node]
9: 0x10103d6f6 Builtins_CEntry_Return1_ArgvOnStack_NoBuiltinExit [/usr/local/bin/node]
To reproduce
git clone https://github.com/aeltorio/parawave-ptt-yarn-crash.git
git checkout crash
yarn install
using the main branch avoid crashing :
git clone https://github.com/aeltorio/parawave-ptt-yarn-crash.git
git checkout main
yarn install
# no crash
the only diff is:
diff --git a/apps/backend-admin/package.json b/apps/backend-admin/package.json
index bf32f77..429d600 100644
--- a/apps/backend-admin/package.json
+++ b/apps/backend-admin/package.json
@@ -53,7 +53,7 @@
"react-dom": "^19.1.1",
"react-i18next": "^15.7.3",
"react-router-dom": "^7.8.2",
- "swagger-ui-react": "^5.27.1",
+ "swagger-ui-react": "^5.28.0",
"tailwind-variants": "^3.1.0",
"tailwindcss": "^4.1.12"
},
@@ -85,4 +85,4 @@
"vite": "^7.1.3",
"vite-tsconfig-paths": "^5.1.4"
}
-}
Environment
System:
OS: macOS 15.6.1
CPU: (12) x64 Intel(R) Core(TM) i7-8850H CPU @ 2.60GHz
Binaries:
Node: 22.19.0 - /private/var/folders/md/j4y09m6d0vvbt5glr8gn7crh0000gn/T/xfs-7fb014cf/node
Yarn: 4.9.4 - /private/var/folders/md/j4y09m6d0vvbt5glr8gn7crh0000gn/T/xfs-7fb014cf/yarn
npm: 10.9.3 - /usr/local/bin/npm
Additional context
RAM: 32GB
shinebayar-g
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working