Abort when unable to allocate memory

Signed-off-by: Ikey Doherty <michael.i.doherty@intel.com>