Memory Leak in mintupdate discovered

Questions about mintUpdate
Forum rules
Before you post please read this

Memory Leak in mintupdate discovered

Postby demilord on Sun May 29, 2011 8:41 am

I noticed a memory leak in mintupdate applet.
Everytime it checks forupdates it increases with 100 till 200 KB, but it doesnt release the memory... I noticed it in System Monitor.
I dont know where to report it..
you can simlulate it with hitting refresh everytime and look at the System Monitor, the memory usage increases...
Also found out when doing the mintupdate program itself it doesnt release memory also

Running Linux Mint 11
mintUpdate 4.3.1
demilord
Level 1
Level 1
 
Posts: 10
Joined: Wed Jan 19, 2011 5:24 pm

Linux Mint is funded by ads and donations.
 

Re: Memory Leak in mintupdate discovered

Postby remoulder on Sun May 29, 2011 11:01 am

[Edit] your original post and add [SOLVED] once your question is resolved.

“The people are my God” stressing the factor determining man’s destiny lies within man not in anything outside man, and thereby defining man as the dominator and remoulder of the world.
User avatar
remoulder
Level 17
Level 17
 
Posts: 7674
Joined: Fri May 09, 2008 1:14 pm

Re: Memory Leak in mintupdate discovered

Postby AdamS on Sun May 29, 2011 11:10 am

Just a little thought.

Update stays in the Notification area till you right click on it and close it. It then releases the memory used.

As long as it is in the notification area, resources used will continue to be used. Until closed completely out and not just minimized.
Proud owner of a 99.5 % Linux based Pc - laptop - netbook - tablet - networking business.
Do your self a favor, stop paying for imperfection. Once you know Linux, you never go back.
User avatar
AdamS
Level 5
Level 5
 
Posts: 510
Joined: Sat May 28, 2011 10:47 pm
Location: Hinckley Utah USA

Re: Memory Leak in mintupdate discovered

Postby demilord on Sun Jun 05, 2011 2:02 pm

Hereby I speak about the applet, and not about the program itself, I didn't touch mintupdate program , All I did was rightclick the notification icon and hit check update, to make it increase the process with 200KB a time.
demilord
Level 1
Level 1
 
Posts: 10
Joined: Wed Jan 19, 2011 5:24 pm

Re: Memory Leak in mintupdate discovered

Postby karashata on Mon Jun 06, 2011 6:04 pm

The notification icon is part of the program itself, it's not an applet. Ergo, what's been said still applies; The program will continue to use resources until it's completely closed and not just running in the background, hidden in the system tray.
Linux Mint user since 2010, fluffy dragon forever!
Registered Linux User #473695
Image
User avatar
karashata
Level 4
Level 4
 
Posts: 436
Joined: Tue May 10, 2011 2:53 pm
Location: Stratford, Ontario, Canada

Re: Memory Leak in mintupdate discovered

Postby HorrorCode on Mon Jun 06, 2011 6:17 pm

Maybe the correct sollution for this would be for mint update to, one finished, kill itself and respawn, freeing up that wasted ram.
HorrorCode
Level 3
Level 3
 
Posts: 137
Joined: Mon Sep 20, 2010 12:39 am

Re: Memory Leak in mintupdate discovered

Postby karashata on Mon Jun 06, 2011 6:54 pm

HorrorCode wrote:Maybe the correct sollution for this would be for mint update to, one finished, kill itself and respawn, freeing up that wasted ram.

I'm not sure 200kb is really that significant amount of RAM that it absolutely *must* be freed no matter what.

Mind you, I'm also running a system with 4 GB of RAM installed and I rarely begin to approach 1.5 GB actually in use, so 200 KB really seems insignificant to me. On a system with 256 MB or even 512 MB of RAM I suppose that 200 KB might be a little more useful.
Linux Mint user since 2010, fluffy dragon forever!
Registered Linux User #473695
Image
User avatar
karashata
Level 4
Level 4
 
Posts: 436
Joined: Tue May 10, 2011 2:53 pm
Location: Stratford, Ontario, Canada

Re: Memory Leak in mintupdate discovered

Postby HorrorCode on Mon Jun 06, 2011 7:25 pm

you do have a point there, i have 4 and im sure i never would have noticed it, but those with less ram surely will.

on another note, there is always a chance that a memory leak could expand or cause the whole pc or other apps to have erratic behavior including data loss, so whether or not it is a leak should be investigated.
HorrorCode
Level 3
Level 3
 
Posts: 137
Joined: Mon Sep 20, 2010 12:39 am

Linux Mint is funded by ads and donations.
 

Return to mintUpdate

Who is online

Users browsing this forum: No registered users and 0 guests