[akregator] [Bug 440574] Memory Leak / Memory Usage For Large Feeds

barray bugzilla_noreply at kde.org
Tue Aug 3 23:56:15 BST 2021


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

--- Comment #1 from barray <barray at protonmail.com> ---
I'm logging the RAM usage every 300 seconds using the SO answer here:
https://unix.stackexchange.com/a/508799

The code is:

```
delay=300
pid="$1"
top -b -d $delay -p $pid | awk -v OFS="," '$1=="top"{ time=$3 } $1+0>0 { print
time,$1,$NF,$9,$10; fflush() }'
```

This gives RAM as a percentage of total memory, but should allow the
observation of memory increase to be obvious.

The purpose of doing this is to see whether it is linear (memory leak in small
loop), periodic (when feeds are pulled) or sporadic (specific feed content is
leaking memory). It also will show the extent of this problem.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Kdepim-bugs mailing list