Free

pchero on June 2nd, 2015

Linux 에서 캐시된 메모리를 어떻게 정리할 수 있을까? 결론적으로 세 가지 방법으로 캐시된 메모리 삭제가 가능하다. 1. 페이지 캐시 해제 2. 해제 가능 오브젝트(dentry, inode) 해제 – dentry에 대해서는 여기(http://unix.stackexchange.com/questions/4402/what-is-a-superblock-inode-dentry-and-a-file)를 참조하자. 3. 해제 가능 오브젝트 + 페이지 캐시 해제 아래는 캐시된 메모리 해제와 관련한 자세한 내용이다.(https://www.kernel.org/doc/Documentation/sysctl/vm.txt) drop_caches Writing to this will cause the kernel to […]

Continue reading about How to clear memory cache in Linux