0

While working on my Vue project, I suddenly got the following crash error. I tried the command --max-old-space-size=4096 but it didn't work. I started getting this error after deleting a few row values in a table in the DB. How can I resolve this error?

FATAL ERROR: Reached heap limit Allocation failed - JavaScript heap out of memory
 1: 00007FF658222E7F v8::internal::CodeObjectRegistry::~CodeObjectRegistry+115263
 2: 00007FF6581B1EC6 SSL_get_quiet_shutdown+67414
 3: 00007FF6581B2D7D node::OnFatalError+301
 4: 00007FF658BBEDBE v8::Isolate::ReportExternalAllocationLimitReached+94
 5: 00007FF658BA8FCD v8::Isolate::Exit+653
 6: 00007FF658A4AB5C v8::internal::Heap::EphemeronKeyWriteBarrierFromCode+1468
 7: 00007FF658A48026 v8::internal::Heap::CollectGarbage+4294
 8: 00007FF658A45970 v8::internal::Heap::AllocateExternalBackingStore+1904
 9: 00007FF658A693C6 v8::internal::Factory::NewFillerObject+214
10: 00007FF658795AB0 v8::internal::DateCache::Weekday+2000
11: 00007FF658C516A1 v8::internal::SetupIsolateDelegate::SetupHeap+513649
12: 00007FF658C0AE87 v8::internal::SetupIsolateDelegate::SetupHeap+224855
13: 00007FF658C778AB v8::internal::SetupIsolateDelegate::SetupHeap+669819
14: 000001EB4C190778
[nodemon] app crashed - waiting for file changes before starting...
Heretic Monkey
  • 11,687
  • 7
  • 53
  • 122
avcismail
  • 31
  • 6
  • 1
    Does this answer your question? [Memory leaks in Node.js - How to analyze allocation tree/roots?](https://stackoverflow.com/questions/66473378/memory-leaks-in-node-js-how-to-analyze-allocation-tree-roots) – Camilo Jul 25 '23 at 13:25
  • Please [edit] your question to show how you were trying to use that switch. You can also increase the value from 4096 to whatever you want. – Heretic Monkey Jul 25 '23 at 13:32
  • What does "vue.js project" mean? What did the nodejs application do, is it the development server? Which tools do you use for that, and how did you start it? – Bergi Jul 25 '23 at 13:42

0 Answers0