Memory Leak in mintupdate discovered

Questions about applications and software
Forum rules
Before you post please read how to get help
Post Reply
demilord
Level 1
Level 1
Posts: 10
Joined: Wed Jan 19, 2011 5:24 pm

Memory Leak in mintupdate discovered

Post by demilord »

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
remoulder
Level 17
Level 17
Posts: 7624
Joined: Fri May 09, 2008 1:14 pm

Re: Memory Leak in mintupdate discovered

Post by remoulder »

[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
AdamS
Level 5
Level 5
Posts: 508
Joined: Sat May 28, 2011 10:47 pm
Location: Hinckley Utah USA

Re: Memory Leak in mintupdate discovered

Post by AdamS »

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.
demilord
Level 1
Level 1
Posts: 10
Joined: Wed Jan 19, 2011 5:24 pm

Re: Memory Leak in mintupdate discovered

Post by demilord »

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.
User avatar
karashata
Level 4
Level 4
Posts: 439
Joined: Tue May 10, 2011 2:53 pm
Location: Stratford, Ontario, Canada
Contact:

Re: Memory Leak in mintupdate discovered

Post by karashata »

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
HorrorCode
Level 3
Level 3
Posts: 137
Joined: Mon Sep 20, 2010 12:39 am

Re: Memory Leak in mintupdate discovered

Post by HorrorCode »

Maybe the correct sollution for this would be for mint update to, one finished, kill itself and respawn, freeing up that wasted ram.
User avatar
karashata
Level 4
Level 4
Posts: 439
Joined: Tue May 10, 2011 2:53 pm
Location: Stratford, Ontario, Canada
Contact:

Re: Memory Leak in mintupdate discovered

Post by karashata »

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
HorrorCode
Level 3
Level 3
Posts: 137
Joined: Mon Sep 20, 2010 12:39 am

Re: Memory Leak in mintupdate discovered

Post by HorrorCode »

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.
Post Reply

Return to “Software & Applications”