mirror of https://github.com/roytam1/UXP
On MacOS, particularly large allocations within the platform limits (1.2G+) will fail and crash. This adds a specific size check for that when working around driver bugs (default). While there, added a generic size_t limited size check for the platform, and reporting OOM if too large.pull/24/head
parent
8896e73c1a
commit
0771bbb58c
1 changed files with 12 additions and 0 deletions
Loading…
Reference in new issue