NULL returned when allocating memory
heap has run out of memory
The functions calloc, malloc, realloc and memalign return NULL if they cannot allocate the space which was requested from the heap. You may need to consider expanding the amount of space assigned to the HEAP logical area in your TASK statement.