摘要
以Linux内存管理研究为基础,阐述了内存管理模型、伙伴系统slab分配流程和内存回收策略,提出了通过修改内存管理器和调整Linux水位线的方法,以避免OOM(out of memory)事件的发生和内存耗尽问题的出现,并对内存变化过程进行了分析。
Based on the research of Linux memory management, this paper elaborated the memory management model, slab allocation process of buddy system and memory recovery strategy. It put forward a method of avoiding the occurrence of OOM (out of memory) event and the problem of running out of memory by modifying the memory manager and adjusting water level line in Linux. It also analyzed the process of the memory in detail.
出处
《新乡学院学报》
2016年第12期31-36,共6页
Journal of Xinxiang University
基金
安徽高校自然科学研究项目(KJ2016A306)
关键词
内存管理
内存回收策略
水位线
OOM
memory management
memory recovery strategy
water level line
OOM