This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Unable to allocate more than 32 with nrf_malloc.

Hi,

Whenever I call `nrf_malloc` with a parameter bigger than 32, the pointer remains NULL. I think it's related to some sdk setting but I couldn't find it.

Anyone had this issue before?

Parents
  • Hello, 

             Do you mean change the MEMORY_MANAGER_SMALL_BLOCK_COUNT to something greater than 1 or change the block size??

Reply
  • Hello, 

             Do you mean change the MEMORY_MANAGER_SMALL_BLOCK_COUNT to something greater than 1 or change the block size??

Children
No Data