jrm@
Developer
After about a day of running, conky uses over 300M of memory.
Install details:
~/.conkyrc:
.conky_lua_scripts.lua:
Here is a screenshot:
Is conky sucking up memory like this for anyone else?
Install details:
Code:
conky --version
Conky 1.8.1 compiled Wed Apr 6 16:25:44 ADT 2011 for FreeBSD 8.2-RELEASE (i386)
Compiled in features:
System config file: /usr/local/etc/conky/conky.conf
Package library path: /usr/local/lib/conky
X11:
* Xdamage extension
* XDBE (double buffer extension)
* Xft
* ARGB visual
Music detection:
* MOC
General:
* math
* Curl
* Weather (METAR)
* Weather (XOAP)
* config-output
* iostats
* ncurses
* Lua
Lua bindings:
~/.conkyrc:
Code:
alignment bottom_left
background no
border_inner_margin 0
#border_margin 9
border_outer_margin 0
border_width 1
default_color darkgrey
default_outline_color DarkGrey
default_shade_color black
double_buffer yes
draw_borders no
draw_outline no # amplifies text
draw_shades yes
gap_x 100
gap_y 24
lua_load ~/.conky_lua_scripts.lua
maximum_width 1680
minimum_size 1680 # use horizontal resolution of monitor
no_buffers no
own_window yes
own_window_hints undecorate,sticky,skip_taskbar,skip_pager # NB: normally, below is used here, but we don't want that for our panel
own_window_transparent yes
own_window_type dock
short_units yes
stippled_borders 0
update_interval 1.0
uppercase no
use_spacer right
use_xft yes
#xftfont Bitstream Vera Sans Mono-7
xftfont Andale Mono-9
#xftfont Clean-8
#xftfont cubicfive10:pixelsize=8
#xftfont squaredance10:pixelsize=14
#xftfont swf!t_v02:pixelsize=10
xftalpha 1
TEXT
${color #FFFFFF}$nodename_short \
${color #707070}| ${color #FF9900}UP${color #707070}:$uptime_short \
| ${color #FF9900}CPU${color #707070} ${color #FF9900}1${color #707070}:${lua_parse pad3 ${cpu cpu1}}% ${color #FF9900}2${color #707070}:${lua_parse pad3 ${cpu cpu2}}% ${color #FF9900}3${color #707070}:${lua_parse pad3 ${cpu cpu3}}% ${color #FF9900}4${color #707070}:${lua_parse pad3 ${cpu cpu4}}% (${lua_parse pad3 ${cpu cpu0}}%) \
| ${color #FF9900}MEM${color #707070}:${mem}/${memmax} ($memperc%) \
| ${color #FF9900}SWP${color #707070}:${swap}/${swapmax} ($swapperc%) \
| ${color #FF9900}WTR${color #707070}:${weather http://weather.noaa.gov/pub/data/observations/metar/stations/ CYHZ temperature 5}C ${weather http://weather.noaa.gov/pub/data/observations/metar/stations/ CYHZ cloud_cover 5} ${weather http://weather.noaa.gov/pub/data/observations/metar/stations/ CYHZ wind_speed 5}km/h ${weather http://weather.noaa.gov/pub/data/observations/metar/stations/ CYHZ wind_dir 5} ${weather http://weather.noaa.gov/pub/data/observations/metar/stations/ CYHZ humidity 5}% \
| ${color #FFFFFF}${time %a %b %d %G %H:%M %S %Z}
${color #FF9900}/${color #707070}:${fs_used /}/${fs_size /} (${fs_used_perc /}%) \
| ${color #FF9900}/tmp${color #707070}:${fs_used /tmp}/${fs_size /tmp} (${fs_used_perc /tmp}%) \
| ${color #FF9900}/usr${color #707070}:${fs_used /usr}/${fs_size /usr} (${fs_used_perc /usr}%) \
| ${color #FF9900}/var${color #707070}:${fs_used /var}/${fs_size /var} (${fs_used_perc /var}%) \
| ${color #FF9900}DSK${color #707070}:${diskio_read} / ${diskio_write} \
| ${color #FF9900}NET${color #707070}:${upspeed re0} / ${downspeed re0} \
| ${color #FF9900}VOL${color #707070}: $mixer
.conky_lua_scripts.lua:
Code:
function conky_pad2( number )
return string.format( '%2u' , conky_parse( number ) )
end
function conky_pad3( number )
return string.format( '%3u' , conky_parse( number ) )
end
function conky_pad31( number )
return string.format( '%5.1f' , conky_parse( number ) )
end
function conky_pad4( number )
return string.format( '%4u' , conky_parse( number ) )
end
function conky_pad41( number )
return string.format( '%6.1f' , conky_parse( number ) )
end
Here is a screenshot:

Is conky sucking up memory like this for anyone else?