摘要
针对嵌入式Linux解析和加载XML脚本数据时频繁申请、释放内存产生的内存碎片问题,本文提出了一种有效避免内存碎片的内存池管理方法——SGI STL的内存池方案。本文提供的内存管理方案在实践中运行效果良好,并且可以扩展到任何可能涉及产生内存碎片的应用场景中。
When parsing and loading XML script data, the embedded Linux system allocates and releases memory frequently, which causes the memory fragment problem. An effective method named memory pool project based on SGI STL is designed in this paper, which can avoid the memory fragment. The memory pool project designed in this paper works well in practice, and can be extended to any applications scenarios involving the memory fragmentation
出处
《萍乡高等专科学校学报》
2013年第6期63-66,共4页
Journal of Pingxiang College