[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Is Lua robust in case of memory allocation failure?
- From: Paul Baker <paulbaker8@...>
- Date: Sun, 7 Aug 2016 23:32:38 +1200
, "doesn't (consistently) handle oom situations but expects the
allocator to crash the process if it can't fulfill a request".
How does Lua handle a memory allocation failure? When embedded, does
it also expect/require the hosting process to crash? Or does it
consistently return an error, allowing the hosting process the
possibility of recovery?