这内存都用到哪里了?
Tofloor
poster avatar
186******39
deepin
2018-01-05 18:25
Author
就运行了qq和firefox,8G内存,现在占用5.2G,没法活了啊简直!
最多的firefox才占了400M内存,求解决办法……



Reply Favorite View the author
All Replies
2 / 2
To page
avatar
tmacy
deepin
2018-01-05 22:28
#21
https://bbs.deepin.org/post/151203
没什么用,到底什么在占用内存啊,气疯

cache 和buffer不需要释放掉啊,used有3G多?
Reply View the author
avatar
186******39
deepin
2018-01-05 22:32
#22
https://bbs.deepin.org/post/151203
cache 和buffer不需要释放掉啊,used有3G多?

used 3g多,可是一共可以使用的就不到1g多呀,按说linux不应该比windows更费内存吧?
Reply View the author
avatar
186******39
deepin
2018-01-05 22:36
#23
刚上了zram,现在感觉还行,开qq,firefox,dbeaver,phpstorm还剩下3g

实在不行就不折腾了…… 感谢啊 @duanyao
Reply View the author
avatar
186******39
deepin
2018-01-05 22:43
#24
据我观察,shared太高了,开机启动几个程序以后现在是400多M,刚才的图里全部都是2G多,应该是这里的问题。

怎么回收这些内存?难道就我一个人这样吗?8g内存在Windows下怎么也不会经常出现卡顿啊
Reply View the author
avatar
duanyao
deepin
2018-01-05 22:48
#25
https://bbs.deepin.org/post/151203
刚上了zram,现在感觉还行,开qq,firefox,dbeaver,phpstorm还剩下3g

实在不行就不折腾了…… 感谢啊 @duan ...

关闭 firefox 后 available(可用内存)提高了 1.6GB,但 shared(共享内存)始终变化甚微。
要么继续关其它程序试试,要么重启一下看看 shared 是否降下去。
Reply View the author
avatar
186******39
deepin
2018-01-05 22:51
#26
https://bbs.deepin.org/post/151203
关闭 firefox 后 available(可用内存)提高了 1.6GB,但 shared(共享内存)始终变化甚微。
要么继续关 ...

重启后shared正常了,shared内存能够释放吗?
刚才我用ipcrm -a试了一下直接把桌面毙掉了,貌似有系统的东西在里面
Reply View the author
avatar
tmacy
deepin
2018-01-05 22:57
#27
怎么说呢,卡顿这种事情可能与你现在的状态没有关系吧。内存没有完全沾满啊。卡顿是不是因为你的硬盘时间久了,还有你是不是机械硬盘?固态硬盘基本没有卡顿的情况
Reply View the author
avatar
zino
deepin
2018-01-05 22:59
#28
建议你开启swap,否则多多都不够用。
Reply View the author
avatar
186******39
deepin
2018-01-05 23:02
#29
沮丧啊,这样吧,现在可能是zram的原因,内存明显用的少了
Reply View the author
avatar
duanyao
deepin
2018-01-05 23:12
#30
https://bbs.deepin.org/post/151203
重启后shared正常了,shared内存能够释放吗?
刚才我用ipcrm -a试了一下直接把桌面毙掉了,貌似有系统的 ...

目前不清楚是什么造成了很多的共享内存。如果知道,杀掉相关的进程可以释放共享内存。
Reply View the author
avatar
186******39
deepin
2018-01-05 23:16
#31
https://bbs.deepin.org/post/151203
目前不清楚是什么造成了很多的共享内存。如果知道,杀掉相关的进程可以释放共享内存。 ...

谢谢了,下次出现这种情况我就一个一个的关进程试试
Reply View the author
avatar
arlly
deepin
2018-01-05 23:33
#32
不卡的话,占内存有什么问题吗?  闲着有什么用。 不能拿WIN的常识来用linux呀
Reply View the author
avatar
duanyao
deepin
2018-01-05 23:48
#33
https://bbs.deepin.org/post/151203
不卡的话,占内存有什么问题吗?  闲着有什么用。 不能拿WIN的常识来用linux呀 ...

事情没这么简单,你可以爬完楼。
windows的情况也没那么简单,XP的常识也不能套到7,8,10上面。
Reply View the author
avatar
186******39
deepin
2018-01-06 01:02
#34
https://bbs.deepin.org/post/151203
不卡的话,占内存有什么问题吗?  闲着有什么用。 不能拿WIN的常识来用linux呀 ...

兄弟,不卡谁会没事看内存啊……卡的受不了了啊
Reply View the author
avatar
wangyong
deepin
2018-01-06 04:32
#35
如果你所有进程加起来都没有这么多,请查看一下内核本身的内存占用,因为监视器无法监视到内核的内存。
Reply View the author
avatar
186******39
deepin
2018-01-07 22:30
#36


看到网上有说这么查,是真的吗?128T?我硬盘一共没这么大啊,瑟瑟发抖中……
@wangyong

                           
Reply View the author
avatar
173******03
deepin
2018-01-08 02:40
#37
开启swap deepin是linux的分支 必须开启swap否则后果自负
Reply View the author
2 / 2
To page