-
-
Notifications
You must be signed in to change notification settings - Fork 406
Description
Describe the bug
Hello, when i save a file, it triggers the hot reload but it just crashes eveytime
`Σ Total size: 149.8 MB
✔ Opened browser in 1.402 s 12:15:24 PM
i Press o + enter to reopen the browser 12:15:24 PM
[dotenv@17.2.3] injecting env (0) from .env.development.chrome.local,.env.development.chrome,.env.chrome.local,.env.chrome,.env.development.local,.env.development,.env.local,.env -- tip: 🔐 encrypt with Dotenvx: https://dotenvx.com
i Changed: entrypoints/ai-composer.content/ai-composer-app.tsx 12:16:06 PM
⠼ [1/1] ai-composer
<--- Last few GCs --->
[46682:0x150008000] 95985 ms: Scavenge (interleaved) 4039.4 (4131.0) -> 4038.8 (4131.5) MB, pooled: 0 MB, 7.25 / 0.00 ms (average mu = 0.619, current mu = 0.447) allocation failure;
[46682:0x150008000] 96067 ms: Scavenge (interleaved) 4044.3 (4135.9) -> 4044.1 (4146.4) MB, pooled: 0 MB, 76.42 / 0.00 ms (average mu = 0.619, current mu = 0.447) allocation failure;
<--- JS stacktrace --->
FATAL ERROR: Reached heap limit Allocation failed - JavaScript heap out of memory
----- Native stack trace -----
1: 0x1002fc5d8 node::OOMErrorHandler(char const*, v8::OOMDetails const&) [/opt/homebrew/Cellar/node/22.10.0/bin/node]
2: 0x1004a702c v8::Utils::ReportOOMFailure(v8::internal::Isolate*, char const*, v8::OOMDetails const&) [/opt/homebrew/Cellar/node/22.10.0/bin/node]
3: 0x1004a6fe0 v8::internal::V8::FatalProcessOutOfMemory(v8::internal::Isolate*, char const*, v8::OOMDetails const&) [/opt/homebrew/Cellar/node/22.10.0/bin/node]
4: 0x10064ca14 v8::internal::Heap::CallGCPrologueCallbacks(v8::GCType, v8::GCCallbackFlags, v8::internal::GCTracer::Scope::ScopeId) [/opt/homebrew/Cellar/node/22.10.0/bin/node]
5: 0x10064b888 v8::internal::Heap::CollectGarbage(v8::internal::AllocationSpace, v8::internal::GarbageCollectionReason, v8::GCCallbackFlags) [/opt/homebrew/Cellar/node/22.10.0/bin/node]
6: 0x100641d24 v8::internal::HeapAllocator::AllocateRawWithLightRetrySlowPath(int, v8::internal::AllocationType, v8::internal::AllocationOrigin, v8::internal::AllocationAlignment) [/opt/homebrew/Cellar/node/22.10.0/bin/node]
7: 0x100642490 v8::internal::HeapAllocator::AllocateRawWithRetryOrFailSlowPath(int, v8::internal::AllocationType, v8::internal::AllocationOrigin, v8::internal::AllocationAlignment) [/opt/homebrew/Cellar/node/22.10.0/bin/node]
8: 0x1006298bc v8::internal::Factory::NewFillerObject(int, v8::internal::AllocationAlignment, v8::internal::AllocationType, v8::internal::AllocationOrigin) [/opt/homebrew/Cellar/node/22.10.0/bin/node]
9: 0x10093eab4 v8::internal::Runtime_AllocateInYoungGeneration(int, unsigned long*, v8::internal::Isolate*) [/opt/homebrew/Cellar/node/22.10.0/bin/node]
10: 0x1000e9af4 Builtins_CEntry_Return1_ArgvOnStack_NoBuiltinExit [/opt/homebrew/Cellar/node/22.10.0/bin/node]
11: 0x100057ca8 Builtins_GrowFastSmiOrObjectElements [/opt/homebrew/Cellar/node/22.10.0/bin/node]
12: 0x1095b9ed8
13: 0x109218370
14: 0x1000950d0 Builtins_LoadIC [/opt/homebrew/Cellar/node/22.10.0/bin/node]
15: 0x109219f4c
16: 0x100051dc8 construct_stub_create_deopt_addr [/opt/homebrew/Cellar/node/22.10.0/bin/node]
17: 0x10921a0e4
18: 0x10011ca84 Builtins_ArrayReduce [/opt/homebrew/Cellar/node/22.10.0/bin/node]
19: 0x109219cb0
20: 0x109219e6c
21: 0x10011865c Builtins_ArrayMap [/opt/homebrew/Cellar/node/22.10.0/bin/node]
22: 0x109b11628
23: 0x109b108cc
24: 0x100091290 Builtins_AsyncFunctionAwaitResolveClosure [/opt/homebrew/Cellar/node/22.10.0/bin/node]
25: 0x10015c4d8 Builtins_PromiseFulfillReactionJob [/opt/homebrew/Cellar/node/22.10.0/bin/node]
26: 0x100081594 Builtins_RunMicrotasks [/opt/homebrew/Cellar/node/22.10.0/bin/node]
27: 0x100052af4 Builtins_JSRunMicrotasksEntry [/opt/homebrew/Cellar/node/22.10.0/bin/node]
28: 0x1005b8134 v8::internal::(anonymous namespace)::Invoke(v8::internal::Isolate*, v8::internal::(anonymous namespace)::InvokeParams const&) [/opt/homebrew/Cellar/node/22.10.0/bin/node]
29: 0x1005b882c v8::internal::(anonymous namespace)::InvokeWithTryCatch(v8::internal::Isolate*, v8::internal::(anonymous namespace)::InvokeParams const&) [/opt/homebrew/Cellar/node/22.10.0/bin/node]
30: 0x1005dbd2c v8::internal::MicrotaskQueue::RunMicrotasks(v8::internal::Isolate*) [/opt/homebrew/Cellar/node/22.10.0/bin/node]
31: 0x1005dbabc v8::internal::MicrotaskQueue::PerformCheckpointInternal(v8::Isolate*) [/opt/homebrew/Cellar/node/22.10.0/bin/node]
32: 0x1002095e4 node::InternalCallbackScope::Close() [/opt/homebrew/Cellar/node/22.10.0/bin/node]
33: 0x100209b64 node::InternalMakeCallback(node::Environment*, v8::Localv8::Object, v8::Localv8::Object, v8::Localv8::Function, int, v8::Localv8::Value, node::async_context, v8::Localv8::Value) [/opt/homebrew/Cellar/node/22.10.0/bin/node]
34: 0x100221a68 node::AsyncWrap::MakeCallback(v8::Localv8::Function, int, v8::Localv8::Value) [/opt/homebrew/Cellar/node/22.10.0/bin/node]
35: 0x100302c04 node::fs::FSReqCallback::Resolve(v8::Localv8::Value) [/opt/homebrew/Cellar/node/22.10.0/bin/node]
36: 0x100304628 node::fs::AfterNoArgs(uv_fs_s*) [/opt/homebrew/Cellar/node/22.10.0/bin/node]
37: 0x1002f3544 node::MakeLibuvRequestCallback<uv_fs_s, void ()(uv_fs_s)>::Wrapper(uv_fs_s*) [/opt/homebrew/Cellar/node/22.10.0/bin/node]
38: 0x1044ae660 uv__work_done [/opt/homebrew/Cellar/libuv/1.49.2/lib/libuv.1.dylib]
39: 0x1044b1cf4 uv__async_io [/opt/homebrew/Cellar/libuv/1.49.2/lib/libuv.1.dylib]
40: 0x1044c2114 uv__io_poll [/opt/homebrew/Cellar/libuv/1.49.2/lib/libuv.1.dylib]
41: 0x1044b2184 uv_run [/opt/homebrew/Cellar/libuv/1.49.2/lib/libuv.1.dylib]
42: 0x10020a428 node::SpinEventLoopInternal(node::Environment*) [/opt/homebrew/Cellar/node/22.10.0/bin/node]
43: 0x10034ab74 node::NodeMainInstance::Run(node::ExitCode*, node::Environment*) [/opt/homebrew/Cellar/node/22.10.0/bin/node]
44: 0x10034a8c8 node::NodeMainInstance::Run() [/opt/homebrew/Cellar/node/22.10.0/bin/node]
45: 0x1002b7858 node::Start(int, char**) [/opt/homebrew/Cellar/node/22.10.0/bin/node]
46: 0x18d5c6b98 start [/usr/lib/dyld]
ELIFECYCLE Command failed.
zsh: abort pnpm dev`
Reproduction
Steps to reproduce
No response
System Info
-
Used Package Manager
npm
Validations
- Read the Contributing Guidelines.
- Read the docs.
- Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
- Check that this is a concrete bug. For Q&A open a GitHub Discussion or join our Discord Chat Server.
- The provided reproduction is a minimal reproducible example of the bug.