Closed bhiseweb closed 4 years ago
Getting error
FATAL ERROR: Committing semi space failed. Allocation failed - process out of memory
PM2 | 1: node::Abort() [PM2 v3.0.0: God Daemon (/home/deploy/.pm2)]
PM2 | 2: 0x11dd81c [PM2 v3.0.0: God Daemon (/home/deploy/.pm2)]
PM2 | 3: v8::Utils::ReportOOMFailure(char const, bool) [PM2 v3.0.0: God Daemon (/home/deploy/.pm2)]
PM2 | 4: v8::internal::V8::FatalProcessOutOfMemory(char const, bool) [PM2 v3.0.0: God Daemon (/home/deploy/.pm2)]
PM2 | 5: v8::internal::Heap::PerformGarbageCollection(v8::internal::GarbageCollector, v8::GCCallbackFlags) [PM2 v3.0.0: God Daemon (/home/deploy/.pm2)]
PM2 | 6: v8::internal::Heap::CollectGarbage(v8::internal::AllocationSpace, v8::internal::GarbageCollectionReason, v8::GCCallbackFlags) [PM2 v3.0.0: God Daemon (/home/deploy/.pm2)]
PM2 | 7: v8::internal::Factory::NewRawOneByteString(int, v8::internal::PretenureFlag) [PM2 v3.0.0: God Daemon (/home/deploy/.pm2)]
PM2 | 8: v8::internal::Handle
+1
I just encountered this same error, has there been no feedback?
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Randomly encountering this error as well.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
I am deploying my react app on ec2 instance using pm2. I created app using create-react-app.
whenever I run
pm2 deploy ecosystem.config.js production
sever get crashed and I received errorfork: Cannot allocate memory
Then I am unable to ssh on server. also it doesn't create all required file in build folder. It shows only 3 files in build folder
favicon.ico, favicon.png and manifest.json
when I build in my local with production env build create properly.
Any help is appreciated thanks in advance.