This function should be called instead of the standard calloc() C function, and terminates the slapd server with an “out of memory” error message if memory cannot be allocated.
You should free the returned pointer by calling slapi_ch_free() .