Skip to content

otUDPnewMessage unable to allocate memory at faster rate #8272

Closed Answered by jwhui
nikhil1983 asked this question in Q&A
Discussion options

You must be logged in to vote

OpenThread maintains a message buffer pool for allocating messages (including UDP messages). The size of the message buffer pool is specified using the following build option:

#define OPENTHREAD_CONFIG_NUM_MESSAGE_BUFFERS 44

If the offered load is less than what Thread can deliver, then you can try increasing the message buffer pool size. However, if the offered load is higher than what Thread can deliver, then you will need to rethink how many messages your application generates.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by jwhui
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants