- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Does anyone know if I should worry about memory fragmentation in WICED/ThreadX if i use memory alloc and dealloc quite a lot? Most embedded system does have this problem but i' not sure if its the same for WICED/ThreadX... thanks
Best Regards,
Aaron Lee
Solved! Go to Solution.
- Labels:
-
Memory
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ThreadX and NetX do not use malloc internally and so any heap fragmentation would be be an application problem. If your application mallocs and frees memory regularly but in a systematic fashion you should not have an issue with fragmentation.
WICED generally follows that rule with a few exceptions:
1) Scan results
2) TLS packet processing
3) TLS certificate processing
4) WPS workspace
WICED does not provide an interface to the ThreadX memory management functions however your application is free to include the ThreadX header and use those functions directly.