# [LIBCOS_CALLOC_FAILED](https://apps.juniper.net/syslog-explorer/?msg=LIBCOS_CALLOC_FAILED)

## SYSLOG Details
- **Message**: <variable>function-name</variable>:<variable>line-number</variable> : Failed to allocate memory for <variable>cos-attribute</variable> : <variable>error-message</variable>
- **Help**: Libcos memory allocation failed
- **Description**: The class-of-service(CoS) library(Libcos) could not dynamically allocate memory for the indicated reason.
- **Type**: SNO: Should Not Occur
- **Severity**: error
- **Cause**: A software bug caused a memory leak or the Routing Engine did not have sufficient memory.
- **Action**: Contact your technical support representative.
- **Attributes**: function-name
line-number
cos-attribute
error-message
- **Facility**: ANY

## Found this message in the following releases:
- [Junos OS 24.2R1](https://apps.juniper.net/syslog-explorer/?msg=LIBCOS_CALLOC_FAILED&sw=Junos%20OS&rel=24.2R1)
- [Junos OS 23.4R1](https://apps.juniper.net/syslog-explorer/?msg=LIBCOS_CALLOC_FAILED&sw=Junos%20OS&rel=23.4R1)