Verify latest release
pnpm version
10.6.3, 10.5.2
Which area(s) of pnpm are affected? (leave empty if unsure)
CLI
Link to the code that reproduces this issue or a replay of the bug
No response
Reproduction steps
Describe the Bug
❯ pnpm audit
<--- Last few GCs --->
[49077:0x150008000] 169350 ms: Mark-Compact 8077.0 (8238.9) -> 8074.1 (8238.9) MB, pooled: 0 MB, 3737.79 / 0.00 ms (average mu = 0.170, current mu = 0.034) allocation failure; scavenge might not succeed
[49077:0x150008000] 174575 ms: Mark-Compact 8259.9 (8408.9) -> 8143.9 (8322.3) MB, pooled: 0 MB, 5188.83 / 0.00 ms (average mu = 0.082, current mu = 0.007) allocation failure; scavenge might not succeed
<--- JS stacktrace --->
FATAL ERROR: Reached heap limit Allocation failed - JavaScript heap out of memory
----- Native stack trace -----
1: 0x1028cb1e4 node::OOMErrorHandler(char const*, v8::OOMDetails const&) [🏠/.proto/tools/node/22.14.0/bin/node]
2: 0x102acafd8 v8::internal::V8::FatalProcessOutOfMemory(v8::internal::Isolate*, char const*, v8::OOMDetails const&) [🏠/.proto/tools/node/22.14.0/bin/node]
3: 0x102cd8f30 v8::internal::Heap::stack() [🏠/.proto/tools/node/22.14.0/bin/node]
4: 0x102cd72d0 v8::internal::Heap::CollectGarbage(v8::internal::AllocationSpace, v8::internal::GarbageCollectionReason, v8::GCCallbackFlags) [🏠/.proto/tools/node/22.14.0/bin/node]
5: 0x102ccb8b8 v8::internal::HeapAllocator::AllocateRawWithLightRetrySlowPath(int, v8::internal::AllocationType, v8::internal::AllocationOrigin, v8::internal::AllocationAlignment) [🏠/.proto/tools/node/22.14.0/bin/node]
6: 0x102ccc0f0 v8::internal::HeapAllocator::AllocateRawWithRetryOrFailSlowPath(int, v8::internal::AllocationType, v8::internal::AllocationOrigin, v8::internal::AllocationAlignment) [🏠/.proto/tools/node/22.14.0/bin/node]
7: 0x102caf410 v8::internal::Factory::NewFillerObject(int, v8::internal::AllocationAlignment, v8::internal::AllocationType, v8::internal::AllocationOrigin) [🏠/.proto/tools/node/22.14.0/bin/node]
8: 0x1030caae4 v8::internal::Runtime_AllocateInYoungGeneration(int, unsigned long*, v8::internal::Isolate*) [🏠/.proto/tools/node/22.14.0/bin/node]
9: 0x10358de9c Builtins_WasmCEntry [🏠/.proto/tools/node/22.14.0/bin/node]
10: 0x10358e2e4 Builtins_StringAdd_CheckNone [🏠/.proto/tools/node/22.14.0/bin/node]
11: 0x109362dc8
12: 0x109362f58
13: 0x109362f58
14: 0x109362f58
15: 0x109362f58
16: 0x109362f58
17: 0x109362f58
18: 0x109362f58
19: 0x109362f58
20: 0x109362f58
21: 0x109360874
22: 0x109360f3c
23: 0x103535290 Builtins_AsyncFunctionAwaitResolveClosure [🏠/.proto/tools/node/22.14.0/bin/node]
24: 0x1036004d8 Builtins_PromiseFulfillReactionJob [🏠/.proto/tools/node/22.14.0/bin/node]
25: 0x103525594 Builtins_RunMicrotasks [🏠/.proto/tools/node/22.14.0/bin/node]
26: 0x1034f6af4 Builtins_JSRunMicrotasksEntry [🏠/.proto/tools/node/22.14.0/bin/node]
27: 0x102c30e6c v8::internal::(anonymous namespace)::Invoke(v8::internal::Isolate*, v8::internal::(anonymous namespace)::InvokeParams const&) [🏠/.proto/tools/node/22.14.0/bin/node]
28: 0x102c31714 v8::internal::(anonymous namespace)::InvokeWithTryCatch(v8::internal::Isolate*, v8::internal::(anonymous namespace)::InvokeParams const&) [🏠/.proto/tools/node/22.14.0/bin/node]
29: 0x102c3184c v8::internal::Execution::TryRunMicrotasks(v8::internal::Isolate*, v8::internal::MicrotaskQueue*) [🏠/.proto/tools/node/22.14.0/bin/node]
30: 0x102c5eac8 v8::internal::MicrotaskQueue::RunMicrotasks(v8::internal::Isolate*) [🏠/.proto/tools/node/22.14.0/bin/node]
31: 0x102c5f24c v8::internal::MicrotaskQueue::PerformCheckpoint(v8::Isolate*) [🏠/.proto/tools/node/22.14.0/bin/node]
32: 0x1027d59a8 node::InternalCallbackScope::Close() [🏠/.proto/tools/node/22.14.0/bin/node]
33: 0x1027d5cc4 node::InternalMakeCallback(node::Environment*, v8::Local<v8::Object>, v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*, node::async_context, v8::Local<v8::Value>) [🏠/.proto/tools/node/22.14.0/bin/node]
34: 0x1027eafd4 node::AsyncWrap::MakeCallback(v8::Local<v8::Function>, int, v8::Local<v8::Value>*) [🏠/.proto/tools/node/22.14.0/bin/node]
35: 0x1028d0dbc node::fs::FSReqCallback::Resolve(v8::Local<v8::Value>) [🏠/.proto/tools/node/22.14.0/bin/node]
36: 0x1028d14b0 node::fs::AfterNoArgs(uv_fs_s*) [🏠/.proto/tools/node/22.14.0/bin/node]
37: 0x1028c3b3c node::MakeLibuvRequestCallback<uv_fs_s, void (*)(uv_fs_s*)>::Wrapper(uv_fs_s*) [🏠/.proto/tools/node/22.14.0/bin/node]
38: 0x1034d065c uv__work_done [🏠/.proto/tools/node/22.14.0/bin/node]
39: 0x1034d410c uv__async_io [🏠/.proto/tools/node/22.14.0/bin/node]
40: 0x1034e7920 uv__io_poll [🏠/.proto/tools/node/22.14.0/bin/node]
41: 0x1034d4674 uv_run [🏠/.proto/tools/node/22.14.0/bin/node]
42: 0x1027d6508 node::SpinEventLoopInternal(node::Environment*) [🏠/.proto/tools/node/22.14.0/bin/node]
43: 0x102914154 node::NodeMainInstance::Run() [🏠/.proto/tools/node/22.14.0/bin/node]
44: 0x10288a364 node::Start(int, char**) [🏠/.proto/tools/node/22.14.0/bin/node]
45: 0x197fc8274 start [/usr/lib/dyld]
Abort trap: 6
Expected Behavior
prints the audit output, no error
Which Node.js version are you using?
22.14.0
Which operating systems have you used?
If your OS is a Linux based, which one it is? (Include the version if relevant)
No response
Verify latest release
pnpm version
10.6.3, 10.5.2
Which area(s) of pnpm are affected? (leave empty if unsure)
CLI
Link to the code that reproduces this issue or a replay of the bug
No response
Reproduction steps
Describe the Bug
Expected Behavior
prints the audit output, no error
Which Node.js version are you using?
22.14.0
Which operating systems have you used?
If your OS is a Linux based, which one it is? (Include the version if relevant)
No response