Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

2.04出现了内存泄露 #675

Open
ker0491 opened this issue Jul 19, 2015 · 2 comments
Open

2.04出现了内存泄露 #675

ker0491 opened this issue Jul 19, 2015 · 2 comments

Comments

@ker0491
Copy link

ker0491 commented Jul 19, 2015

更新了一次系统,问题消失了,看样子是系统的缘故。

@wsgdlhy
Copy link

wsgdlhy commented Jul 20, 2015

top - 09:32:08 up 2:34, 1 user, load average: 0.13, 0.25, 0.25
Tasks: 132 total, 1 running, 126 sleeping, 0 stopped, 5 zombie
%Cpu0 : 3.3/2.0 5[||||| ]
%Cpu1 : 2.6/0.7 3[|||| ]
GiB Mem : 26.9/3.335 [ ]
GiB Swap: 0.0/4.000

PID USER PR NI VIRT RES %CPU %MEM TIME+ S COMMAND
1 root 20 0 41.6m 4.7m 0.0 0.1 0:01.71 S systemd
152 root 20 0 113.1m 53.9m 0.0 1.6 0:01.74 S `- systemd-journal

316 root 20 0 152.4m 11.6m 0.0 0.3 0:00.08 S - slim 347 root 20 0 310.8m 67.8m 2.0 2.0 5:25.34 S- Xorg
783 fu 20 0 21.0m 3.1m 0.0 0.1 0:00.01 S - sh 832 fu 20 0 366.1m 16.0m 0.0 0.5 0:00.04 S- xfce4-session
936 fu 20 0 581.7m 52.4m 0.0 1.5 0:02.63 S - easystroke 1802 fu 20 0 0.0m 0.0m 0.0 0.0 28:13.68 Z- firefox
11168 fu 20 0 0.0m 0.0m 0.0 0.0 0:00.21 Z - audacious 11501 fu 20 0 0.0m 0.0m 0.0 0.0 0:26.16 Z- firefox
12712 fu 20 0 1233.8m 394.5m 0.0 11.6 0:17.54 S - firefox 12865 fu 20 0 514.1m 71.1m 0.7 2.1 0:01.54 S- plugin-containe
12919 fu 20 0 0.0m 0.0m 0.0 0.0 0:00.12 Z - xfce4-terminal 13134 fu 20 0 466.1m 29.9m 2.0 0.9 0:00.72 S- xfce4-terminal
13138 fu 20 0 8.2m 1.5m 0.0 0.0 0:00.00 S - gnome-pty-helpe 13139 fu 20 0 23.1m 3.7m 0.0 0.1 0:00.00 S- bash
13148 fu 20 0 45.7m 3.7m 0.0 0.1 0:00.71 R - top 978 fu 20 0 918.7m 91.1m 0.0 2.7 0:11.29 S- cairo-dock
989 fu 20 0 595.8m 46.4m 0.7 1.4 0:14.24 S - caffeine 998 fu 20 0 21.0m 3.0m 0.0 0.1 0:00.00 S- start.sh
1008 fu 20 0 1760.1m 70.6m 0.7 2.1 1:40.76 S - python2 1360 fu 20 0 0.0m 0.0m 0.0 0.0 0:00.01 Z- python2
1021 fu 20 0 328.8m 33.3m 0.0 1.0 0:00.10 S - polkit-gnome-au 1079 fu 20 0 447.8m 43.9m 0.0 1.3 0:00.17 S- nm-applet
670 polkitd 20 0 507.1m 17.6m 0.0 0.5 0:00.03 S - polkitd 671 root 20 0 30.3m 2.9m 0.0 0.1 0:00.00 S- wpa_supplicant
732 fu 20 0 35.0m 4.3m 0.0 0.1 0:00.00 S - systemd 734 fu 20 0 102.5m 1.6m 0.0 0.0 0:00.00 S- (sd-pam)
813 fu 20 0 17.6m 1.9m 0.0 0.1 0:00.00 S - dbus-launch 821 fu 20 0 34.1m 2.9m 0.0 0.1 0:00.09 S- dbus-daemon
887 fu 20 0 34.6m 4.3m 0.0 0.1 0:00.03 S - xfconfd 910 fu 20 0 169.1m 0.7m 0.0 0.0 0:00.20 S- gpg-agent
912 fu 20 0 284.5m 63.2m 0.7 1.9 1:30.63 S - compiz 1176 fu 20 0 200.0m 24.3m 0.0 0.7 0:01.25 S- emerald
916 fu 20 0 287.1m 19.0m 0.0 0.6 0:00.54 S - xfce4-panel 1172 fu 20 0 305.0m 22.0m 0.0 0.6 0:00.91 S- panel-6-weather
1174 fu 20 0 385.8m 25.4m 0.0 0.7 0:00.13 S - panel-4-xfce4-c 1175 fu 20 0 202.5m 15.9m 0.0 0.5 0:00.15 S- panel-2-systray
918 fu 20 0 212.7m 15.1m 0.0 0.4 0:00.02 S - Thunar 920 fu 20 0 961.5m 35.2m 0.0 1.0 0:01.86 S- xfdesktop
939 fu 20 0 371.2m 16.1m 0.0 0.5 0:00.42 S - xfsettingsd 1085 fu 20 0 276.1m 14.9m 0.0 0.4 0:00.04 S- xfce4-power-man
1113 fu 20 0 255.6m 5.3m 0.0 0.2 0:00.00 S - at-spi-bus-laun 1116 fu 20 0 33.7m 3.5m 0.0 0.1 0:00.48 S- dbus-daemon

archlinux+xfce4 好像暂时没发现这情况

@xxnet
Copy link
Contributor

xxnet commented Jul 20, 2015

恩,我这边也没有发现问题。

你看到200M,是虚拟空间,还是资源占用?
top后面
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND

1234 user 20 0 1711016 56624 19796 S 13.3 1.4
5:32.42 python2

看上面的,VIRT是虚拟内存占用,不是实际占用,RES才是实际内存占用.

2015-07-20 9:33 GMT+08:00 wsgdlhy notifications@github.com:

top - 09:32:08 up 2:34, 1 user, load average: 0.13, 0.25, 0.25
Tasks: 132 total, 1 running, 126 sleeping, 0 stopped, 5 zombie
%Cpu0 : 3.3/2.0 5[||||| ]
%Cpu1 : 2.6/0.7 3[|||| ]
GiB Mem : 26.9/3.335 [ ]
GiB Swap: 0.0/4.000

PID USER PR NI VIRT RES %CPU %MEM TIME+ S COMMAND

1 root 20 0 41.6m 4.7m 0.0 0.1 0:01.71 S systemd

152 root 20 0 113.1m 53.9m 0.0 1.6 0:01.74 S `- systemd-journal

316 root 20 0 152.4m 11.6m 0.0 0.3 0:00.08 S - slim
347 root 20 0 310.8m 67.8m 2.0 2.0 5:25.34 S- Xorg

783 fu 20 0 21.0m 3.1m 0.0 0.1 0:00.01 S - sh
832 fu 20 0 366.1m 16.0m 0.0 0.5 0:00.04 S- xfce4-session

936 fu 20 0 581.7m 52.4m 0.0 1.5 0:02.63 S - easystroke
1802 fu 20 0 0.0m 0.0m 0.0 0.0 28:13.68 Z- firefox

11168 fu 20 0 0.0m 0.0m 0.0 0.0 0:00.21 Z - audacious
11501 fu 20 0 0.0m 0.0m 0.0 0.0 0:26.16 Z- firefox

12712 fu 20 0 1233.8m 394.5m 0.0 11.6 0:17.54 S - firefox
12865 fu 20 0 514.1m 71.1m 0.7 2.1 0:01.54 S- plugin-containe

12919 fu 20 0 0.0m 0.0m 0.0 0.0 0:00.12 Z - xfce4-terminal
13134 fu 20 0 466.1m 29.9m 2.0 0.9 0:00.72 S- xfce4-terminal

13138 fu 20 0 8.2m 1.5m 0.0 0.0 0:00.00 S - gnome-pty-helpe
13139 fu 20 0 23.1m 3.7m 0.0 0.1 0:00.00 S- bash

13148 fu 20 0 45.7m 3.7m 0.0 0.1 0:00.71 R - top
978 fu 20 0 918.7m 91.1m 0.0 2.7 0:11.29 S- cairo-dock

989 fu 20 0 595.8m 46.4m 0.7 1.4 0:14.24 S - caffeine
998 fu 20 0 21.0m 3.0m 0.0 0.1 0:00.00 S- start.sh

1008 fu 20 0 1760.1m 70.6m 0.7 2.1 1:40.76 S - python2
1360 fu 20 0 0.0m 0.0m 0.0 0.0 0:00.01 Z- python2

1021 fu 20 0 328.8m 33.3m 0.0 1.0 0:00.10 S - polkit-gnome-au
1079 fu 20 0 447.8m 43.9m 0.0 1.3 0:00.17 S- nm-applet

670 polkitd 20 0 507.1m 17.6m 0.0 0.5 0:00.03 S - polkitd
671 root 20 0 30.3m 2.9m 0.0 0.1 0:00.00 S- wpa_supplicant

732 fu 20 0 35.0m 4.3m 0.0 0.1 0:00.00 S - systemd
734 fu 20 0 102.5m 1.6m 0.0 0.0 0:00.00 S- (sd-pam)

813 fu 20 0 17.6m 1.9m 0.0 0.1 0:00.00 S - dbus-launch
821 fu 20 0 34.1m 2.9m 0.0 0.1 0:00.09 S- dbus-daemon

887 fu 20 0 34.6m 4.3m 0.0 0.1 0:00.03 S - xfconfd
910 fu 20 0 169.1m 0.7m 0.0 0.0 0:00.20 S- gpg-agent

912 fu 20 0 284.5m 63.2m 0.7 1.9 1:30.63 S - compiz
1176 fu 20 0 200.0m 24.3m 0.0 0.7 0:01.25 S- emerald

916 fu 20 0 287.1m 19.0m 0.0 0.6 0:00.54 S - xfce4-panel
1172 fu 20 0 305.0m 22.0m 0.0 0.6 0:00.91 S- panel-6-weather

1174 fu 20 0 385.8m 25.4m 0.0 0.7 0:00.13 S - panel-4-xfce4-c
1175 fu 20 0 202.5m 15.9m 0.0 0.5 0:00.15 S- panel-2-systray

918 fu 20 0 212.7m 15.1m 0.0 0.4 0:00.02 S - Thunar
920 fu 20 0 961.5m 35.2m 0.0 1.0 0:01.86 S- xfdesktop

939 fu 20 0 371.2m 16.1m 0.0 0.5 0:00.42 S - xfsettingsd
1085 fu 20 0 276.1m 14.9m 0.0 0.4 0:00.04 S- xfce4-power-man

1113 fu 20 0 255.6m 5.3m 0.0 0.2 0:00.00 S - at-spi-bus-laun
1116 fu 20 0 33.7m 3.5m 0.0 0.1 0:00.48 S- dbus-daemon

archlinux+xfce4 好像暂时没发现这情况


Reply to this email directly or view it on GitHub
#675 (comment).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

3 participants