srsran / srsRAN_4G

Open source SDR 4G software suite from Software Radio Systems (SRS) https://docs.srsran.com/projects/4g
https://www.srsran.com
GNU Affero General Public License v3.0
3.36k stars 1.1k forks source link

If UE access increases, memory cannot be applied for #1336

Open doudoulail opened 1 month ago

doudoulail commented 1 month ago

[Describe the issue in detail] Hello everyone, when I was learning srsrenb, I found that I could not apply for space when the number of UE access increased. How should I solve this problem? `inline unique_byte_buffer_t make_byte_buffer() noexcept { if (std::unique_ptr(new (std::nothrow) byte_buffer_t())==nullptr) { printf("error to bytebuffer\n"); }

return std::unique_ptr(new (std::nothrow) byte_buffer_t()); }` I finally found that calling this method multiple times will cause the buffer to fail to apply