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

lxpanel is leaking memory #2154

Closed
suntong opened this issue Dec 14, 2021 · 3 comments
Closed

lxpanel is leaking memory #2154

suntong opened this issue Dec 14, 2021 · 3 comments

Comments

@suntong
Copy link

suntong commented Dec 14, 2021

Same issue as posted in

lxpanel is taking too much RAM (and growing)
https://forums.raspberrypi.com/viewtopic.php?t=267015&sid=9cc8bddec6c80edebe8a0b7be7b2f2d4

Just that lxpanelctl restart is not helping in my case to free up the memory it has allocated.

Reported by smem:

  PID User     Command                         Swap      USS      PSS      RSS 
 1465 myid     /usr/bin/lxqt-panel           522704   763824   767644   786196
 1224 root     /usr/lib/xorg/Xorg -noliste   169692   828352   847767   874776 
 1461 myid     /usr/bin/pcmanfm-qt --deskt    97892    21880    32147    56488 

Even pkill lxpanel won't let it free up its memory.

Comparing to the space used by Xorg or pcmanfm-qt, the 760M+ memory (including 520M+ swap space) usage of lxpanel is huge, while it only has few static items:

image

Is that normal?
How can I let it free up its memory?

This is LUbuntu 21.10:

$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 21.10
Release:        21.10
Codename:       impish

Update:

It is surely leaking memory, otherwise, the heap won't be this big, 1.2G!!

% cat /proc/1465/smaps | grep -A10 'heap'
55672ef42000-55677beb0000 rw-p 00000000 00:00 0                          [heap]
Size:            1260984 kB
KernelPageSize:        4 kB
MMUPageSize:           4 kB
Rss:              749320 kB
Pss:              749320 kB
Shared_Clean:          0 kB
Shared_Dirty:          0 kB
Private_Clean:      6576 kB
Private_Dirty:    742744 kB
Referenced:       747880 kB

Originally posted by @suntong in #2153

@tsujan
Copy link
Member

tsujan commented Dec 14, 2021

We don't have lxpanel or lxpanelctl in LXQt and the RaspberryPi report you mentioned was about LXDE, not LXQt.

Anyway, the memory usages of both lxqt-panel and Xorg seem abnormal in your case. You might want to report it to LUbuntu/Ubuntu or, perhaps, their RaspberryPi team.

Closing this because it isn't reproducible upstream, the version of lxqt-panel in Ubuntu (0.17.1) is outdated, and opening of #2153 was enough.

@tsujan tsujan closed this as completed Dec 14, 2021
@suntong
Copy link
Author

suntong commented Dec 28, 2021

Hmm... hi @tsujan, would it be possible to have lxqt-panel pre-built binary somewhere for people to download?

I've report the issue to Ubuntu, but it seems to me that nobody would work on the new release for quite a while...

@tsujan
Copy link
Member

tsujan commented Dec 29, 2021

Binary/package making is a distro job.

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

No branches or pull requests

2 participants