tf内存占用问题:
我是用8G的tf卡,测试如下:
一、不跑应用,不插卡:
[root@anyka ~]$ free -m
total used free shared buffers
Mem: 43 9 34 0 1
-/+ buffers: 8 35
Swap: 0 0 0
二、不跑应用,插卡:
[root@anyka ~]$ free -m
total used free shared buffers
Mem: 43 17 26 0 8
-/+ buffers: 9 34
Swap: 0 0 0
三、跑应用,不插卡:
[root@anyka ~]$ free -m
total used free shared buffers
Mem: 43 19 24 0 3
-/+ buffers: 16 27
Swap: 0 0 0
[root@anyka ~]$
四、跑应用,插卡:
[root@anyka ~]$ free -m
total used free shared buffers
Mem: 43 27 15 0 10
-/+ buffers: 17 26
Swap: 0 0 0
[root@anyka ~]$
解决办法:
echo "20480" > /proc/sys/vm/min_free_kbytes
阅读(1558) | 评论(0) | 转发(2) |