我的ubuntu怎么占了那么大的内存 ???!!!
版面规则
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
- 543082593
- 帖子: 234
- 注册时间: 2008-11-07 8:41
我的ubuntu怎么占了那么大的内存 ???!!!
今天一时兴起 就试了一下“休眠”功能
结果 提示 swap 空间不足 我的swap分了 1G
我想 不足就算了 我就重新启动
进了系统以后 查看 “系统监视器”
查看一下 结果吓了我一跳
我的内存 竟然用 了 1G多 我的是2G的
我就查看了一下 到底是哪些进程 占用内存比较多啊
看了一下 主要有两个进程占的比较多 一个是 gnome-setting-daemon 387.8MB 一个是 nautilus 394.8MB 郁闷了 怎么能占那么大的空间呢 ???
结果我又重新启动了一次 查看 还是那么大
我就到我同学那里去看了一下他的ubuntu里的情况
结果 别人的这两个进程 分别才占了 几MB 郁闷 难道是”休眠“ 引起的
但是 怎么释放 内存空间呢
还是其他的原因引起的
对了 我装了 Mac4lin主题
难道是这个主题引起的 ???
到底是为什么 ?????????????困惑中
还有我还没开3D效果呢
怎么会那么夸张呢
?????!!!!!!!!
结果 提示 swap 空间不足 我的swap分了 1G
我想 不足就算了 我就重新启动
进了系统以后 查看 “系统监视器”
查看一下 结果吓了我一跳
我的内存 竟然用 了 1G多 我的是2G的
我就查看了一下 到底是哪些进程 占用内存比较多啊
看了一下 主要有两个进程占的比较多 一个是 gnome-setting-daemon 387.8MB 一个是 nautilus 394.8MB 郁闷了 怎么能占那么大的空间呢 ???
结果我又重新启动了一次 查看 还是那么大
我就到我同学那里去看了一下他的ubuntu里的情况
结果 别人的这两个进程 分别才占了 几MB 郁闷 难道是”休眠“ 引起的
但是 怎么释放 内存空间呢
还是其他的原因引起的
对了 我装了 Mac4lin主题
难道是这个主题引起的 ???
到底是为什么 ?????????????困惑中
还有我还没开3D效果呢
怎么会那么夸张呢
?????!!!!!!!!
fall again
smooth criminal
they don't care about us
billie jean
beat it
dangerous
the lost children
childhood
ben
i will be there
speechless
she is out of my life
rock with you
...
LOVE U FOREVER
smooth criminal
they don't care about us
billie jean
beat it
dangerous
the lost children
childhood
ben
i will be there
speechless
she is out of my life
rock with you
...
LOVE U FOREVER
- ChenFengyuan
- 帖子: 770
- 注册时间: 2008-03-23 0:39
Re: 我的ubuntu怎么占了那么大的内存 ???!!!
休眠,,,,,,能否删了“休眠”功能呢,反正我用不了,,,万一按了“休眠”。。死定了。。。
-
- 帖子: 142
- 注册时间: 2007-10-21 17:59
Re: 我的ubuntu怎么占了那么大的内存 ???!!!
我也用过休眠啊,怎么没事啊,呵呵
希望LZ早日解决吧
希望LZ早日解决吧
- pcbird
- 帖子: 2337
- 注册时间: 2008-12-19 13:44
- 来自: 东8区
- 543082593
- 帖子: 234
- 注册时间: 2008-11-07 8:41
Re: 我的ubuntu怎么占了那么大的内存 ???!!!
重新装了ubuntu以后 前几天正常
可是 又不知道怎么搞的 又变成了这样的了 狂占资源 无语啊
到底怎么搞的
看到了吧 好恐怖 真的是很迷茫
到底是哪个地方出了毛病了呢
各位高手 help me!!!!!!!!!!!!
可是 又不知道怎么搞的 又变成了这样的了 狂占资源 无语啊
到底怎么搞的
看到了吧 好恐怖 真的是很迷茫
到底是哪个地方出了毛病了呢
各位高手 help me!!!!!!!!!!!!
fall again
smooth criminal
they don't care about us
billie jean
beat it
dangerous
the lost children
childhood
ben
i will be there
speechless
she is out of my life
rock with you
...
LOVE U FOREVER
smooth criminal
they don't care about us
billie jean
beat it
dangerous
the lost children
childhood
ben
i will be there
speechless
she is out of my life
rock with you
...
LOVE U FOREVER
-
- 帖子: 3681
- 注册时间: 2008-05-03 23:42
Re: 我的ubuntu怎么占了那么大的内存 ???!!!
你应该操心的事是怎么把那剩下来的将近 1G 的内存用掉 ...
内存用光才是好事,说明你的投资没有浪费
如果你还有 1 G 的内存没用,你应该考虑拔掉 1G 内存,减少耗电,也算是为国家节能减排做贡献
内存用光才是好事,说明你的投资没有浪费
如果你还有 1 G 的内存没用,你应该考虑拔掉 1G 内存,减少耗电,也算是为国家节能减排做贡献
- ptptptptptpt
- 帖子: 3711
- 注册时间: 2006-09-19 18:16
Re: 我的ubuntu怎么占了那么大的内存 ???!!!
billbear 写了:你应该操心的事是怎么把那剩下来的将近 1G 的内存用掉 ...
内存用光才是好事,说明你的投资没有浪费
如果你还有 1 G 的内存没用,你应该考虑拔掉 1G 内存,减少耗电,也算是为国家节能减排做贡献
- Yizer
- 帖子: 297
- 注册时间: 2007-11-07 14:41
- 来自: 佳木斯
- 联系:
Re: 我的ubuntu怎么占了那么大的内存 ???!!!
Description
Wouldn't it be nice to be able to flush all the junk stored in nautilus after you opened a folder with 5000 pictures or videos. All that space is still taken up after you leave the folder. I know you could just kill the process and restart it in terminal, but shouldn't there be an easier and automated way of doing this. I suppose a threshold could be set at 100 megs and after nautilus uses that much the system will automaticly flush it. A simple run time script is capable of solving this, a manual option to wipe memory clean on a scheduled basis could also come in handy as well. This program could later be expanded to flush garbage out of other parts in the ubuntu system. The all time record size of nautilus for me has been 1.4 gb, I kept it running for 7 days straight. Everyone reading this should submit their all time record size as well.
http://brainstorm.ubuntu.com/idea/4641/
Are you looking at cached, or used ram?
Caches ram is good. It's not wasting ram, and it's making your desktop be more responsive. As soon as that cached ram is needed for a program operation, it's cleared.
But, if you want to clear cached ram, here's a script I found that does the trick:
gksudo sync
gksudo echo 3 | sudo tee /proc/sys/vm/drop_caches
Just save it in ~/.gnome2/nautilus-scripts (with the file name of "Clear cache"), make it executable (right-click, properties, permissions, allow execution as program). Then you can right-click anywhere in the nautilus window, select scripts, and click on "Clear cache" and it'll be cleared.
有人说这么做- -||
至于对不对么
我也不知道
以下是反对的声音
After opening only one big folder (~17800 jpg files), nautilus takes more than 1GB of ram, and only gives it back when killed. The next line is extracted from top:
20978 user 20 0 1564m 1.2g 20m S 0 58.8 9:44.42 nautilus
That isn't system cache, that's nautilus ram usage.
The problem is that, even when all windows are closed, nautilus is still running to draw the desktop icons, so even closing all windows wont stop it from using all that ram.
Even more, the ~./thumbnails folder is only ~370Mb big. Even having all the thumbnails cached it's wasting ram (or is it storing uncompresed images in ram?)
Wouldn't it be nice to be able to flush all the junk stored in nautilus after you opened a folder with 5000 pictures or videos. All that space is still taken up after you leave the folder. I know you could just kill the process and restart it in terminal, but shouldn't there be an easier and automated way of doing this. I suppose a threshold could be set at 100 megs and after nautilus uses that much the system will automaticly flush it. A simple run time script is capable of solving this, a manual option to wipe memory clean on a scheduled basis could also come in handy as well. This program could later be expanded to flush garbage out of other parts in the ubuntu system. The all time record size of nautilus for me has been 1.4 gb, I kept it running for 7 days straight. Everyone reading this should submit their all time record size as well.
http://brainstorm.ubuntu.com/idea/4641/
Are you looking at cached, or used ram?
Caches ram is good. It's not wasting ram, and it's making your desktop be more responsive. As soon as that cached ram is needed for a program operation, it's cleared.
But, if you want to clear cached ram, here's a script I found that does the trick:
gksudo sync
gksudo echo 3 | sudo tee /proc/sys/vm/drop_caches
Just save it in ~/.gnome2/nautilus-scripts (with the file name of "Clear cache"), make it executable (right-click, properties, permissions, allow execution as program). Then you can right-click anywhere in the nautilus window, select scripts, and click on "Clear cache" and it'll be cleared.
有人说这么做- -||
至于对不对么
我也不知道
以下是反对的声音
After opening only one big folder (~17800 jpg files), nautilus takes more than 1GB of ram, and only gives it back when killed. The next line is extracted from top:
20978 user 20 0 1564m 1.2g 20m S 0 58.8 9:44.42 nautilus
That isn't system cache, that's nautilus ram usage.
The problem is that, even when all windows are closed, nautilus is still running to draw the desktop icons, so even closing all windows wont stop it from using all that ram.
Even more, the ~./thumbnails folder is only ~370Mb big. Even having all the thumbnails cached it's wasting ram (or is it storing uncompresed images in ram?)
- 543082593
- 帖子: 234
- 注册时间: 2008-11-07 8:41
Re: 我的ubuntu怎么占了那么大的内存 ???!!!
“太阳” 虽说如此 但是 感觉不是正常的使用内存 感觉怪怪的ptptptptptpt 写了:billbear 写了:你应该操心的事是怎么把那剩下来的将近 1G 的内存用掉 ...
内存用光才是好事,说明你的投资没有浪费
如果你还有 1 G 的内存没用,你应该考虑拔掉 1G 内存,减少耗电,也算是为国家节能减排做贡献
fall again
smooth criminal
they don't care about us
billie jean
beat it
dangerous
the lost children
childhood
ben
i will be there
speechless
she is out of my life
rock with you
...
LOVE U FOREVER
smooth criminal
they don't care about us
billie jean
beat it
dangerous
the lost children
childhood
ben
i will be there
speechless
she is out of my life
rock with you
...
LOVE U FOREVER
- 想入非非
- 帖子: 8078
- 注册时间: 2008-07-14 22:42
- 来自: Beijing
- 联系:
- 543082593
- 帖子: 234
- 注册时间: 2008-11-07 8:41
Re: 我的ubuntu怎么占了那么大的内存 ???!!!
额 貌似 是这样的原因
linux自动把多的内存应用为缓存 以提高IO速度 所以 我懂了
正常反应
希望出现跟我一样现象的朋友 不用瞎担心了
linux自动把多的内存应用为缓存 以提高IO速度 所以 我懂了
正常反应
希望出现跟我一样现象的朋友 不用瞎担心了
fall again
smooth criminal
they don't care about us
billie jean
beat it
dangerous
the lost children
childhood
ben
i will be there
speechless
she is out of my life
rock with you
...
LOVE U FOREVER
smooth criminal
they don't care about us
billie jean
beat it
dangerous
the lost children
childhood
ben
i will be there
speechless
she is out of my life
rock with you
...
LOVE U FOREVER
-
- 帖子: 81
- 注册时间: 2008-11-13 18:45
Re: 我的ubuntu怎么占了那么大的内存 ???!!!
内存是拿来用的,而不是用来看的。
- xieshaohu
- 帖子: 1565
- 注册时间: 2007-10-24 20:20
- 来自: 北京、海淀
- 联系:
Re: 我的ubuntu怎么占了那么大的内存 ???!!!
恩。就是 你说的这个原因,543082593 写了:额 貌似 是这样的原因
linux自动把多的内存应用为缓存 以提高IO速度 所以 我懂了
正常反应
希望出现跟我一样现象的朋友 不用瞎担心了
Linux的内存管理方式和Windows的不一样,所以不用太担心
关于休眠功能不能使用的问题。
因为Linux休眠的时候是把内存的信息写到SWap,你的内存是2GB,但是swap只有1GB,所以 你不能执行休眠功能。
可以使用交换文件来扩大 SWAP,具体的可以搜索 论坛。
-
- 帖子: 2841
- 注册时间: 2006-09-11 22:47
Re: 我的ubuntu怎么占了那么大的内存 ???!!!
gnome的话,那个监视器并不会把磁盘缓存计算到内存占用中,所以并不存在用得越多越好的说法。
事实上休眠功能的意义不大,因为当你的内存比较大时,从硬盘中载入恢复花的时间会很长。挂起就简单多了。比较不容易出问题。
事实上休眠功能的意义不大,因为当你的内存比较大时,从硬盘中载入恢复花的时间会很长。挂起就简单多了。比较不容易出问题。