Page 1 of 1

Conky using 1.8GB of memory!?

Posted: Mon Nov 14, 2022 4:30 am
by Sparky
In my computer, the app that uses the most memory is conky. It is using 1.8GB Is this normal? Can I do something to make it less resource hungry?

Re: Conky using 1.8GB of memory!?

Posted: Mon Nov 14, 2022 4:52 am
by wdscharff
No, Conky uses between 20-40MB, depending on distribution, kernel and desktop interface.
For me it fluctuates (mx 21, fluxbox, all kernel. incl 6xx and Liquorix) around 25-30MB, under Mint (20.something) Cinnamon it was also once around 40mb.

Re: Conky using 1.8GB of memory!?

Posted: Mon Nov 14, 2022 4:56 am
by Eadwine Rose
If you could post the content of your conky file (between code tags), it might help see what in there is making it hog so much.

Re: Conky using 1.8GB of memory!?

Posted: Mon Nov 14, 2022 6:27 am
by Sparky
This is from the KDE System load viewer.

Image

Re: Conky using 1.8GB of memory!?

Posted: Mon Nov 14, 2022 7:04 am
by Huckleberry Finn

Code: Select all

inxi -xtm20

Code: Select all

inxi -xtm40 | grep conky

Re: Conky using 1.8GB of memory!?

Posted: Mon Nov 14, 2022 7:33 am
by Sparky

Code: Select all

Processes: System RAM: total: 15.53 GiB used: 11.2 GiB (72.1%) 
           Memory top: 20 of 325 
           1: mem: 1811.0 MiB (11.3%) command: conky pid: 2272 cpu: 3.6% 
           2: mem: 960.9 MiB (6.0%) command: firefox-bin pid: 756327 cpu: 2.6% 
           3: mem: 957.1 MiB (6.0%) command: firefox-bin pid: 756270 cpu: 2.8% 
           4: mem: 876.2 MiB (5.5%) command: evolution pid: 741153 cpu: 0.7% 
           5: mem: 854.0 MiB (5.3%) command: firefox pid: 756042 cpu: 20.7% 
           6: mem: 653.9 MiB (4.1%) command: firefox-bin pid: 827043 cpu: 1.8% 
           7: mem: 525.9 MiB (3.3%) command: firefox-bin pid: 770831 cpu: 10.3% 
           8: mem: 469.2 MiB (2.9%) command: firefox-bin pid: 763302 cpu: 1.8% 
           9: mem: 381.5 MiB (2.3%) command: firefox-bin pid: 909473 cpu: 7.9% 
           10: mem: 358.4 MiB (2.2%) command: plasmashell pid: 1586 cpu: 1.0% 
           11: mem: 284.9 MiB (1.7%) command: xorg pid: 1235 cpu: 6.4% 
           12: mem: 242.8 MiB (1.5%) command: kwin_x11 pid: 1508 cpu: 4.7% 
           13: mem: 171.6 MiB (1.0%) command: surfshark pid: 1151178 cpu: 0.1% 
           14: mem: 163.7 MiB (1.0%) command: firefox-bin pid: 1236263 cpu: 2.7% 
           15: mem: 154.1 MiB (0.9%) command: webkitwebprocess pid: 741205 cpu: 0.1% 
           16: mem: 144.8 MiB (0.9%) command: firefox-bin pid: 911754 cpu: 0.0% 
           17: mem: 144.5 MiB (0.9%) command: firefox-bin pid: 756348 cpu: 0.1% 
           18: mem: 141.1 MiB (0.8%) command: firefox-bin pid: 1244280 cpu: 1.0% 
           19: mem: 138.8 MiB (0.8%) command: firefox-bin pid: 981689 cpu: 0.2% 
           20: mem: 136.6 MiB (0.8%) command: firefox-bin pid: 1152578 cpu: 0.1% 

Code: Select all

$ inxi -xtm40 | grep conky
           1: mem: 1811.2 MiB (11.3%) command: conky pid: 2272 cpu: 3.6% 

Re: Conky using 1.8GB of memory!?

Posted: Mon Nov 14, 2022 7:43 am
by Huckleberry Finn
Oh la la , it's only 18 MiB here at #23

Code: Select all

23: mem: 18.1 MiB (0.9%) command: conky pid: 1844 cpu: 0.2% 

There's something weird.. It's staying at #1 (like a joke :D)
(also cpu: 3.6% is too much ... abnormal ... )

Re: Conky using 1.8GB of memory!?

Posted: Mon Nov 14, 2022 7:47 am
by Huckleberry Finn
Then.. what if you (just to see) select another theme?

And (if still not) turn it off , reboot and try (inxi) then turn it on .. again inxi ...

Re: Conky using 1.8GB of memory!?

Posted: Mon Nov 14, 2022 8:48 am
by siamhie
No, that's not normal at all.

conky.png

Re: Conky using 1.8GB of memory!?

Posted: Mon Nov 14, 2022 8:53 am
by Adrian
Might have a memory leak, something went wrong, try to restart it, monitor to see if it continues like that, maybe it's related to the theme as other people suggested, so maybe try also another theme.

Re: Conky using 1.8GB of memory!?

Posted: Mon Nov 14, 2022 9:07 am
by Stuart_M
I'm with @Eadwine Rose on this - I too would like to see the Conky file/code to analyze and run on my system.

Did this Conky always have the high memory use? Do other Conky files have high memory use?



Probably won't help in your case, but look at https://bbs.archlinux.org/viewtopic.php ... 51#p975551 from August 2011.

Re: Conky using 1.8GB of memory!?

Posted: Tue Nov 15, 2022 5:51 am
by Sparky
Changing the theme has significantly dropped it. The theme I was using is called utterly sweet and is my favorite, but I guess I need to stop using it.

Re: Conky using 1.8GB of memory!?

Posted: Tue Nov 15, 2022 6:04 am
by fehlix
Sparky wrote: Tue Nov 15, 2022 5:51 am The theme I was using is called utterly sweet and is my favorite
Such information belong into the first post of an Help request.
As this is not a standard conky which comes with MX Linux.

Re: Conky using 1.8GB of memory!?

Posted: Tue Nov 15, 2022 6:26 am
by Sparky
fehlix wrote: Tue Nov 15, 2022 6:04 am
Such information belong into the first post of an Help request.
As this is not a standard conky which comes with MX Linux.
You think everyone only uses themes that come pre installed with MX? I didn't mention it in the first post as I had no idea that the theme might be causing this. 9_9

Re: Conky using 1.8GB of memory!?

Posted: Tue Nov 15, 2022 6:45 am
by fehlix
Sparky wrote: Tue Nov 15, 2022 6:26 am
fehlix wrote: Tue Nov 15, 2022 6:04 am
Such information belong into the first post of an Help request.
As this is not a standard conky which comes with MX Linux.
You think everyone only uses themes that come pre installed with MX? I didn't mention it in the first post as I had no idea that the theme might be causing this. 9_9
Read the "How to ask for Help" which clearly states give information related to the matter.
Also, anything downloaded randomly from the web can cause you system to malfunction or in worst case
send out private data back into the web. So any attempt with e.g. secure VPN to protect your system from outside,
could be "nullified" by running stuff just download from the web. Conkies do have full access to all you data and can send out anything potentially including yout app-passwords depending whether and how they are protected and stored.

Re: Conky using 1.8GB of memory!?

Posted: Tue Nov 15, 2022 6:46 am
by ceeslans
Can you please link or share the 'utterly sweet' conky theme file ?

Re: Conky using 1.8GB of memory!?

Posted: Tue Nov 15, 2022 7:15 am
by Sparky
It is downloaded from the Global theme from within KDE, not from a 'random search' on the internet.

Here is the link @ceesians
https://store.kde.org/p/1906500

Re: Conky using 1.8GB of memory!?

Posted: Tue Nov 15, 2022 7:26 am
by Eadwine Rose
Dunno if it has been suggested yet or not, but can you start the conky through the terminal, the output might give a clue on what is causing it.

Re: Conky using 1.8GB of memory!?

Posted: Tue Nov 15, 2022 7:50 am
by dolphin_oracle
Sparky wrote: Tue Nov 15, 2022 7:15 am It is downloaded from the Global theme from within KDE, not from a 'random search' on the internet.

Here is the link @ceesians
https://store.kde.org/p/1906500
are you sure that's the source? I cold be just missing it, but I'm not seeing a conky script in tarball.

Re: Conky using 1.8GB of memory!?

Posted: Tue Nov 15, 2022 8:26 am
by Sparky
dolphin_oracle wrote: Tue Nov 15, 2022 7:50 am
are you sure that's the source? I cold be just missing it, but I'm not seeing a conky script in tarball.
I went to the global theme in settings and searched for it and installed it. I did not download it from outside of that.

Image

Re: Conky using 1.8GB of memory!?

Posted: Tue Nov 15, 2022 8:29 am
by dolphin_oracle
Sparky wrote: Tue Nov 15, 2022 8:26 am
dolphin_oracle wrote: Tue Nov 15, 2022 7:50 am
are you sure that's the source? I cold be just missing it, but I'm not seeing a conky script in tarball.
I went to the global theme in settings and searched for it and installed it. I did not download it from outside of that.

Image
that's the KDE global theme, but I don't see a conky script included with it. there is also no mention of one in the description.

Re: Conky using 1.8GB of memory!?

Posted: Tue Nov 15, 2022 8:39 am
by richb
I did download the Sweet theme. There Is no Conky included.

Re: Conky using 1.8GB of memory!?

Posted: Tue Nov 15, 2022 8:46 am
by Sparky
richb wrote: Tue Nov 15, 2022 8:39 am I did download the Sweet theme. There Is no Conky included.
But I have a conky on my screen. I think it's the default one that comes with MX21 KDE

Re: Conky using 1.8GB of memory!?

Posted: Tue Nov 15, 2022 9:08 am
by dolphin_oracle
Sparky wrote: Tue Nov 15, 2022 8:46 am
richb wrote: Tue Nov 15, 2022 8:39 am I did download the Sweet theme. There Is no Conky included.
But I have a conky on my screen. I think it's the default one that comes with MX21 KDE
That isn't what you reported. That's OK, its easy to get confused.

when you figure out what conky you were running that demonstrated the ram leak, we would like to know that, especially if its one of our pre-packaged ones.

Re: Conky using 1.8GB of memory!?

Posted: Tue Nov 15, 2022 9:16 am
by Sparky
dolphin_oracle wrote: Tue Nov 15, 2022 9:08 am
when you figure out what conky you were running that demonstrated the ram leak, we would like to know that, especially if its one of our pre-packaged ones.
Sorry about the confusion. The conky is: MX-Coreblue conkyrc2core