core: Abort on memory allocation failures in daemon