Home >php教程 >php手册 >linux 内存释放命令

linux 内存释放命令

WBOY
WBOYOriginal
2016-05-30 16:59:481312browse

  我使用的是CentOS 6.5 ,由于卸载Solr 后发现内存占用挺多的,我想释放一下内存,就查阅了一些资料,分享给大家:

1.free -m  查看内存的使用情况,-m表示单位是兆

2.echo 1 > /proc/sys/vm/drop_caches

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn