Page MenuHomePhabricator

[Segmentation] Gracefully handle out of memory situations
Open, HighPublic

Description

Very large images may lead to out of memory situation as they can sometimes have (temporary) multiple copies in memory when piped through a pipeline (even on something simple as opening the image). Instead of crashing, it would be nice to handle these exceptions gracefully and report the issue to the user. Actually fixing such issues with a streaming backend for large images are probably off the table.