Bug 382316

Summary: Very High Memory Consumption - Memory Leak
Product: [Plasma] plasmashell Reporter: Dan <dcoffey095>
Component: generic-crashAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED DUPLICATE    
Severity: normal CC: gilaldpellaeon, kde, sonichedgehog_hyperblast00
Priority: NOR    
Version: 5.10.3   
Target Milestone: 1.0   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Massif snapshots of the plasmashell.

Description Dan 2017-07-13 20:55:54 UTC
The process plasmashell (with pid 26726) is using approximately 12.8 GB of memory.
Of 15.4G system memory
Take only minutes to consume 14G of memory and system become unusable
I do daily update & upgrade to system

Linux madmax 4.12.1-041201-generic #201707121132 SMP Wed Jul 12 15:34:46 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux                                         
plasmashell --version                                                                                                                     
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'                                                                               
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'                                                                               
plasmashell 5.10.3
Comment 1 David Edmundson 2017-07-13 23:29:48 UTC
Do you have your wallpaper set to slideshoe?
Comment 2 gilaldpellaeon 2017-07-16 16:26:50 UTC
Created attachment 106666 [details]
Massif snapshots of the plasmashell.

Hi guys.
I happen to have an exactly the same problem, and yes, I do change wallpapers.
Actually I've made some measurements while changing them (and then resting for a while) with the Massif tool (valgrind).

Could you please have a look? I've tried to do a research but I know too little about how Qt handles graphics so it's not that obvious for me. Having said that, it's still pretty obvious that a memory passed to nvidia libgl (in my case) is never freed.
Comment 3 Dan 2017-07-17 18:06:52 UTC
(In reply to Dan from comment #0)
> The process plasmashell (with pid 26726) is using approximately 12.8 GB of
> memory.
> Of 15.4G system memory
> Take only minutes to consume 14G of memory and system become unusable
> I do daily update & upgrade to system
> 
> Linux madmax 4.12.1-041201-generic #201707121132 SMP Wed Jul 12 15:34:46 UTC
> 2017 x86_64 x86_64 x86_64 GNU/Linux                                         
> plasmashell --version                                                       
> 
> QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'  
> 
> QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'  
> 
> plasmashell 5.10.3

Yes, I also run slideshow on two monitors
Nice work on your failure analysis
Please fix
Comment 4 Christoph Feck 2017-07-17 18:15:55 UTC

*** This bug has been marked as a duplicate of bug 381000 ***