Delay crashing the main process when running Out-of-Memory (OOM)
void mozalloc_handle_oom(size_t size) {
if (gOOMDelayedCrash) {
gOOMDelayedCrash = false;
Sleep(100); // Sleep for 100ms hoping some other process dies
return;
}
// The rest behaves like it used to
…
}
This entry was posted on Mittwoch, November 30th, 2022 at 11:54 and is filed under Administration, Technical Info. You can follow any responses to this entry through the RSS 2.0 feed.
You can leave a response, or trackback from your own site.