<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.kde.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugs.kde.org/"
          
          maintainer="sysadmin@kde.org"
>

    <bug>
          <bug_id>382262</bug_id>
          
          <creation_ts>2017-07-12 06:58:30 +0000</creation_ts>
          <short_desc>Media frame plasmoid causes plasmashell memory leak</short_desc>
          <delta_ts>2018-04-09 18:56:11 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>10</classification_id>
          <classification>Unmaintained</classification>
          <product>kdeplasma-addons</product>
          <component>General</component>
          <version>5.10.3</version>
          <rep_platform>Arch Linux</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>381000</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>NOR</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Kishore Gopalakrishnan">kishore96</reporter>
          <assigned_to name="Plasma Bugs List">plasma-bugs-null</assigned_to>
          <cc>makhsm</cc>
    
    <cc>ruedihofer</cc>
    
    <cc>simonandric5</cc>
          
          <cf_commitlink></cf_commitlink>
          <cf_versionfixedin></cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1688257</commentid>
    <comment_count>0</comment_count>
    <who name="Kishore Gopalakrishnan">kishore96</who>
    <bug_when>2017-07-12 06:58:30 +0000</bug_when>
    <thetext>Adding a picture frame plasmoid (the one described here: https://userbase.kde.org/Plasma/PictureFrame ; it does not seem to have a separate category, so I am reporting it under the &apos;general&apos; component) to the desktop causes plasmashell&apos;s memory consumption to grow indefinitely. Pressing the &apos;next&apos; or &apos;previous&apos; arrows to change the displayed image makes the memory consumption increase faster.

Steps to reproduce:
1. Add a media frame plasmoid to the desktop.
2. Add a few pictures to it.
3. Open Ksysguard and observe the amount of RAM used by plasmashell.
4. Wait for the image to change, or change the image by pressing the buttons.

Observed result: memory consumption by plasmashell increases with each image change. 

Expected result: plasmashell should not consume unreasonable amounts of memory (in this case, I have observed its memory usage rising to up to 1.3 GB)

More info:
If we go to the &apos;detailed memory information&apos; for plasmashell in Ksysguard, we see that the bulk of the memory is allocated to &apos;heap&apos;, and this is the component that grows on each image change.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1689926</commentid>
    <comment_count>1</comment_count>
    <who name="Kishore Gopalakrishnan">kishore96</who>
    <bug_when>2017-07-20 13:43:31 +0000</bug_when>
    <thetext>Duplicate of bug 381000?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1692209</commentid>
    <comment_count>2</comment_count>
    <who name="Christoph Feck">cfeck</who>
    <bug_when>2017-08-01 18:15:51 +0000</bug_when>
    <thetext>Let&apos;s assume it is. If you can still reproduce it after bug 381000 is fixed, please add a comment.

*** This bug has been marked as a duplicate of bug 381000 ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1710288</commentid>
    <comment_count>3</comment_count>
    <who name="Ruedi Hofer">ruedihofer</who>
    <bug_when>2017-11-08 19:14:53 +0000</bug_when>
    <thetext>As of now, the bug is still there. Unfortunately.

KDE Plasma 5.11.3
KDE Frameworks 5.39.0
Qt 5.9.1
Kernel 4.13.0-16
kubuntu 17.10 ppa landing</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1711897</commentid>
    <comment_count>4</comment_count>
    <who name="makism">makhsm</who>
    <bug_when>2017-11-17 15:25:51 +0000</bug_when>
    <thetext>I finally managed to track the memory leak in plasmashell into this widget.
still there in both Fedora 26 and 27 beta.

some details:
KDE Plasma 5.10.5
KDE Framewoks 5.39.0
Qt 5.9.2
Kernel: 4.13.12-300

GLX: Mesa DRI Intel(R) HD Graphics 620 (Kaby Lake GT2) 
OpenGL version: 3.0 Mesa 17.2.4</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1712074</commentid>
    <comment_count>5</comment_count>
    <who name="Kishore Gopalakrishnan">kishore96</who>
    <bug_when>2017-11-18 14:58:58 +0000</bug_when>
    <thetext>Bug #386844 (the issue #381000 this is marked as a duplicate of was forked into two separate bugs for the memory issue and the CPU usage issue) has been marked as fixed in Qt version 5.9.2. However, I am still able to reproduce this issue with the following software versions:

Plasmashell: 5.11.3
Qt5: 5.9.2
Frameworks: 5.40.0
Distro: Arch Linux</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1724540</commentid>
    <comment_count>6</comment_count>
    <who name="Ruedi Hofer">ruedihofer</who>
    <bug_when>2018-01-24 13:07:44 +0000</bug_when>
    <thetext>As of now, the bug is still there. Unfortunately.

KDE Plasma 5.11.5
KDE Frameworks 5.41.0
Qt 5.9.1
Kernel 4.13.0-31
kubuntu 17.10 ppa landing
64 bit

This bug seems closed, but problem was never solved. How to reopen?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1730534</commentid>
    <comment_count>7</comment_count>
    <who name="Christoph Feck">cfeck</who>
    <bug_when>2018-02-14 22:13:10 +0000</bug_when>
    <thetext>Ruedi, see bug 368838.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>