Re: [v8-users] Can V8 crash due to memory allocation failure? Can this crash the entire process?

2016-08-05 Thread Jochen Eisinger
V8 doesn't (consistently) handle oom situations but expects the allocator to crash the process if it can't fulfill a request. Paul Baker schrieb am Mi., 3. Aug. 2016, 11:55: > It appears that V8 allocates JavaScript objects on a manually-managed > heap, memory for which is ultimately obtained fr

[v8-users] Can V8 crash due to memory allocation failure? Can this crash the entire process?

2016-08-03 Thread Paul Baker
It appears that V8 allocates JavaScript objects on a manually-managed heap, memory for which is ultimately obtained from mmap/VirtualAlloc (on Linux/Windows). However, for its internal data structures, V8 seems to use C++ standard containers such as `std::vector` [1]. If these containers need to al