Skip to content

Memory Leak #1074

@Saduff

Description

@Saduff

Hi,

There seems to be a memory leak. Looking at top, memory usage is steadily increasing, never dropping. Left the computer on over night once, in the morning py3status was using 3.2 GB of memory. 😮
Reloading i3 takes it down to about 30 MB, but in a few hours it will be over 500 MB, always increasing.

Arch Linux 4.12.12-1-ARCH
status_command py3status -c ~/.config/i3/i3status.conf -b -s

Here's my i3status.conf:

general {
    colors = true
}

clock {
    format_time = " %A %d.%m.%Y {icon} %H:%M:%S"
    on_click 1 = "exec gsimplecal"
}

battery_level {
    format = "{icon} {percent}% {time_remaining}"
    notify_low_level = True
    threshold_degraded = 20
}

whatismyip {
    cache_timeout = 1
    negative_cache_timeout = 1
    format = "{icon} {ip}"
}

net_iplist {
    cache_timeout = 1
    iface_blacklist = ["lo", "wlan0"]
    format = "{format_iface}"
    format_iface = "{iface}: {ip4}"
    format_no_ip = "E: down"
    on_click 1 = "exec wicd-client -n"
}

wifi wlan0 {
    cache_timeout = 1
    format_down = " Down"
    format_up = " {bitrate} {signal_percent} {ssid} {ip}"
    on_click 1 = "exec wicd-client -n"
}

diskdata sda1 {
    cache_timeout = 30
    disk = "sda1"
    format = " /{free} GB {used_percent}%"
    on_click 1 = "exec thunar /"
}

sysdata mem {
    cache_timeout = 5
    format = "[\?color=mem  RAM: {mem_used_percent}%]"
}

sysdata cpu {
    cache_timeout = 1
    format = "[\?color=cpu  CPU: {cpu_usage}%]"
}

arch_updates {
    format = "{pacman}"
}

xrandr {
    cache_timeout = 0
    force_on_start = "eDP1=HDMI1"
}

scratchpad_async {
    format = "{counter} ⌫   "
}

order += "scratchpad_async"
order += "arch_updates"
order += "sysdata cpu"
order += "sysdata mem"
order += "diskdata sda1"
order += "wifi wlan0"
order += "net_iplist"
order += "whatismyip"
order += "battery_level"
order += "clock"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions