Should my Conky be using up 0.50% (nearly 20MB) of Memory?
Code:
conky.config = { Code:
--[[ |
Rem out the two lines
Code:
lua_load = '~/scripts/clock.lua', |
I did that, doesn't make any difference, the leakage over a period of time caused by it stops but usage never goes below 0.49%. Did the same with the Daylight-info execi line, same thing.
|
conky version?
|
1 Attachment(s)
conky 1.10.0 compiled Wed Jul 1 08:01:11 UTC 2015 for Linux 3.16.0-4-amd64 x86_64
Would my having upgraded to kernel 4.1.12 have something to do with it? Killed conky and restarted it, note that it starts at 0.49% of memory. |
It could be the new kernel. It's hard to say.
I asked a friend of mine who's still into conky if he's aware of any issues with conky 1.10.0 on kernel 3.16.x vs 4.1.x I should have an answer "tomorrow". He's in another hemisphere, literally. |
Thanks, means a lot, you taking the trouble. Thought i'd try out gkrellm and see how it compared..it's even worse, memory usage is 0.57% with no Built-ins but just the hostname and the gkrellmoon plugin enabled. I am certainly better off with Conky even if it's not optimal yet. ;)
|
I had never paid much attention to conky's RAM usage, but just had a look:
Code:
Slackware 14.1 (32 bit) I would consider my ~10MB on 32 bit machine comparable to your ~20MB on 64 bit machine, but would not consider either to be unusual by current software standards (or lack thereof). Is it causing you problems or are you just surprised at the memory footprint? |
Quote:
Quote:
Quote:
|
1 Attachment(s)
I would judge lighter just by length of code, but I also see you are drawing yours with cairo moves which I am not.
Here is mine (I am definitely NOT a conky expert! No laughs, please!) ;) Code:
#Robert's conky config for Fluxbox |
That's a pretty neat looking conky, and you even have several graphs running! But i need to keep an eye on those individual core temps. and how they fluctuate with usage, even if those readings are the problem. I will certainly try to trim some redundant bits from the configuration settings like shades, graphs, color etc along the lines of yours though and see if that makes a difference. Remember reading somewhere that keeping the alignment "bottom_right" also helps. Will try it out. Thanks for the code.
Btw, it's only the clock which uses cairo and as i said, deleting those lines does not decrease the memory usage, only prevents the slow leakage, ie. now after a little over 5 hrs. of Uptime, it has gone up from 0.49% to 0.69%. I created a kill switch in my openbox root menu just for that. Edit: Learned something new about the "$image" variable. There's this Debian swirl i'd downloaded, it's a 1028x1270 pixel image. Wanted to display it as an icon in the top left corner of my Conky. First i tried ${image /image_path -s 36x45}. The memory immediately jumped to 0.66%. So i scaled it down with Gimp and used it without the scaling operator, and guess what, the memory usage dropped down to 0.54%. How inefficient is the scaling operation in Conky, eh? Still, even without it, this pre-scaled icon meant an increase of 0.05% (from 0.49% earlier), that's as much memory as my elaborate lua clock uses, with cairo and all! |
Quote:
My contact says only he has the 3.16 kernel only using conky 1.9 only. And he has 2000 conkys to 'update'. Yikes. wrt 1.10.x and LUA: "some elements that aren't working from what I've read" is all he said. I wish I had more to tell you, but I don't. Sorry about that. It's been my experience that conky does cost resources to monitor resources. Image the overhead on this I never thought twice about it on my 2g of RAM system. |
Thanks for trying, it only remains for me to take mine apart one object variable at a time and see which ones are the most costly, already found that about <$image>.
As to that Conky image, WOW! Now that's enthusiasm, that's dedication, that's art, what's a few hundred measly MBs for something like that. :) |
Mines pretty simple but we may be comparing apples to oranges here. This is my Ubuntu minimal install with
Code:
harry@biker:~$ apt-cache policy conky-std Code:
# Default colors and also border colors, grey90 == #e5e5e5 http://i.imgur.com/PT8EKCo.jpg On my AntiX laptops and netbooks with 4.3 kernels. No problems with conky on those. Here is my pastebin account with certain saved conkyrc of mine. You are welcome to them http://pastebin.com/u/rokytnji |
Quote:
It became apparent that I had another addiction. |
All times are GMT -5. The time now is 02:59 PM. |