79240486

Date: 2024-11-30 21:07:09
Score: 2
Natty:
Report link

I'm facing the same issue also, I was trying to run strapi cms in cpanel and got the below error, have got a solution.

stdout:

stderr:
#
# Fatal error in , line 0
# Fatal process out of memory: Failed to reserve memory for new V8 Isolate
#
#
#
#FailureMessage Object: 0x7ffd46fd3be0
1: 0x8c1e35  [/opt/alt/alt-nodejs14/root/usr/bin/node]
2: 0x11535e6 V8_Fatal(char const*, ...) [/opt/alt/alt-nodejs14/root/usr/bin/node]
3: 0x9bcb08  [/opt/alt/alt-nodejs14/root/usr/bin/node]
4: 0xc1ffc3 v8::internal::IsolateAllocator::InitReservation() [/opt/alt/alt-nodejs14/root/usr/bin/node]
5: 0xc202fd v8::internal::IsolateAllocator::IsolateAllocator(v8::internal::IsolateAllocationMode) [/opt/alt/alt-nodejs14/root/usr/bin/node]
6: 0xb10a9a v8::internal::Isolate::New(v8::internal::IsolateAllocationMode) [/opt/alt/alt-nodejs14/root/usr/bin/node]
7: 0x8a534e node::NodeMainInstance::NodeMainInstance(v8::Isolate::CreateParams*, uv_loop_s*, node::MultiIsolatePlatform*, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > const&, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > const&, std::vector<unsigned long, std::allocator<unsigned long> > const*) [/opt/alt/alt-nodejs14/root/usr/bin/node]
8: 0x828dca node::Start(int, char**) [/opt/alt/alt-nodejs14/root/usr/bin/node]
9: 0x7f7df88295d0  [/lib64/libc.so.6]
10: 0x7f7df8829680 __libc_start_main [/lib64/libc.so.6]
11: 0x7a69e5 _start [/opt/alt/alt-nodejs14/root/usr/bin/node]

Out of memory error may be caused by hitting LVE limits
or "Max data size", "Max address space" or "Max resident set" process limits
Please check LVE limits and process limits. Readjust them if necessary
More info: https://docs.cloudlinux.com/shared/cloudlinux_os_components/#known-restrictions-and-issues

process limits "/proc/1436440/limits":
Limit                     Soft Limit           Hard Limit           Units     
Max cpu time              unlimited            unlimited            seconds   
Max file size             unlimited            unlimited            bytes     
Max data size             unlimited            unlimited            bytes     
Max stack size            8388608              unlimited            bytes     
Max core file size        0                    0                    bytes     
Max resident set          4294967296           4294967296           bytes     
Max processes             unlimited            unlimited            processes 
Max open files            1073741816           1073741816           files     
Max locked memory         unlimited            unlimited            bytes     
Max address space         4294967296           4294967296           bytes     
Max file locks            unlimited            unlimited            locks     
Max pending signals       unlimited            unlimited            signals   
Max msgqueue size         unlimited            unlimited            bytes     
Max nice priority         unlimited            unlimited            
Max realtime priority     unlimited            unlimited            
Max realtime timeout      unlimited            unlimited            us  ```      
Reasons:
  • Long answer (-1):
  • Has code block (-0.5):
  • Me too answer (2.5): I'm facing the same issue
  • Low reputation (1):
Posted by: Fuad Mohammed