abort when out of memory

Signed-off-by: Sébastien Boisvert <boisvert@anl.gov>