Use Mmap with Care
The way Sublime Merge handles this is by releasing the memory mapped file on idle. So you add Google Breakpad, but unbeknownst to you you’ve just broken Linux and MacOS again…
The problem with using signal handlers is that they’re global, across threads and libraries. So while your application may not use 4GB of memory, it will run out of address space if you try to memory map a too large file.
Source: www.sublimetext.com