问:您能否详细介绍如何在 NDK 中管理内存?我在运行时遇到分配错误。
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
答:较新版本(3.80 及更高版本)的 NDK 用户指南中详细说明了 NDK 如何进行内存管理。
对于较旧版本,您可以参阅已归档的 processors.wiki.ti.com 页面:
静态网络缓冲区:NDK Static Network Buffers - Texas Instruments Wiki.pdf
静态内部存储器:NDK Static Internal Memory Manager - Texas Instruments Wiki.pdf
动态内部存储器: NDK Dynamic Memory Manager - Texas Instruments Wiki.pdf