Change out_of_memory test to use custom allocation handler instead of rlimit as RLIMIT_AS doesn't seem to work on Mac OS X (Darwin) and hence the test goes into an infinite loop. (Seems unlikely to work on Windows either.)
Change out_of_memory test to use custom allocation handler instead of
rlimit as RLIMIT_AS doesn't seem to work on Mac OS X (Darwin) and
hence the test goes into an infinite loop. (Seems unlikely to work on
Windows either.)


Former-commit-id: e5e991ee3d88d37f4fb975b0ef21650048513717
Trass3r/Halide,Trass3r/Halide,darkbuck/Halide,Trass3r/Halide,Trass3r/Halide,Trass3r/Halide,darkbuck/Halide,darkbuck/Halide,darkbuck/Halide,darkbuck/Halide,Trass3r/Halide,Trass3r/Halide,darkbuck/Halide,darkbuck/Halide