Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
675 views
in Technique[技术] by (71.8m points)

nginx - angular 7 npm build crashing (Rebalance Allocation failed - process out of memory) from ec2 server

Showing error:

Cannot get stack trace in GC.
    FATAL ERROR: NewSpace::Rebalance Allocation failed - process out of memory
     1: node::Abort() [ng]
     2: 0x121a7ac [ng]
     3: v8::Utils::ReportOOMFailure(char const*, bool) [ng]
     4: v8::internal::V8::FatalProcessOutOfMemory(char const*, bool) [ng]
     5: 0xaea73b [ng]
     6: v8::internal::MarkCompactCollector::Evacuate() [ng]
     7: v8::internal::MarkCompactCollector::CollectGarbage() [ng]
     8: v8::internal::Heap::MarkCompact() [ng]
     9: v8::internal::Heap::PerformGarbageCollection(v8::internal::GarbageCollector, v8::GCCallbackFlags) [ng]
    10: v8::internal::Heap::CollectGarbage(v8::internal::AllocationSpace, v8::internal::GarbageCollectionReason, v8::GCCallbackFlags) [ng]
    11: v8::internal::Factory::NewFillerObject(int, bool, v8::internal::AllocationSpace) [ng]
    12: v8::internal::Runtime_AllocateInTargetSpace(int, v8::internal::Object**, v8::internal::Isolate*) [ng]
    13: 0x18aab070463d

Need help on this to fix.
We have Ec2 nginx pm2


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
等待大神答复

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...