[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bugs-dist
Subject:    [KScreen] [Bug 342374] Memory Leak in plasma-desktop grows into gigabytes
From:       Shawn Cook <shawn () strongerforyou ! com>
Date:       2015-01-22 16:54:54
Message-ID: bug-342374-17878-lD5u5J9wGJ () http ! bugs ! kde ! org/
[Download RAW message or body]

https://bugs.kde.org/show_bug.cgi?id=342374

--- Comment #10 from Shawn Cook <shawn@strongerforyou.com> ---
(In reply to Shawn Cook from comment #9)
> To Prevent System Crashes I use this:  At 800mb it restarts plasma-desktop
> #!/bin/bash
> CURRENTMEM="$(smem|grep [p]lasma-desktop|awk '{print $5}'| sed -e 's/^ *//'
> -e 's/ *$//')"
> MEMCAP=800000
> if [[ $CURRENTMEM -gt $MEMCAP ]] ; then
> `pkill -f plasma-desktop; sleep 3; plasma-desktop > /dev/null 2>&1 &`
> fi;
then just put it in cron to check every minute

-- 
You are receiving this mail because:
You are watching all bug changes.
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic