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

## SYSLOG Details
- **Message**: <variable>function-name</variable>:Mem Alloc failure.. Closing Socket
- **Help**: Memory Allocation failed for the socket buffer
- **Description**: Allocating the memory for the transmission buffer to send the message to the application via socket, memory allocation failed
- **Type**: Internal: Internal log message
- **Severity**: error
- **Cause**: -
- **Action**: -
- **Attributes**: function-name
- **Facility**: LOG_PFE

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