LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-19-2015, 12:32 AM   #1
RandomTroll
Senior Member
 
Registered: Mar 2010
Distribution: Slackware
Posts: 1,846

Rep: Reputation: 265Reputation: 265Reputation: 265
Is this what a memory leak looks like?


3 times since I upgraded to Firefox 42.0 (November 4) it has slowed down by a factor of, perhaps, millions: I would move the mouse as if to highlight some text but only 10 minutes later would it highlight; I tried to open a new tab but it wouldn't get around to opening that page it opens for new tabs for hours.

The second time I started top and saw that Firefox was using 100% or nearly 100% of CPU time (though this didn't slow down other apps) and its RAM use would increase .1% nearly every refresh. After a few hours it would exhaust RAM, quit, reporting a failure to allocate 0x100 bytes and a segmentation fault.

I ran Opera to use the Internet. Cor-el @ Mozilla had nothing useful to suggest.

I'm not looking for a diagnosis, I just wanted to know if this is a memory leak.
 
Old 11-19-2015, 02:53 AM   #2
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6051Reputation: 6051Reputation: 6051Reputation: 6051Reputation: 6051Reputation: 6051Reputation: 6051Reputation: 6051Reputation: 6051Reputation: 6051Reputation: 6051
what are your History settings in Preferences => Privacy?
 
Old 11-19-2015, 03:21 AM   #3
273
LQ Addict
 
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,679

Rep: Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373
If it kept growing in memory use and didn't release it then it's possibly a memory leak and if it didn't then it isn't. That's kind of the definition of a memory leak.
 
Old 11-19-2015, 08:45 PM   #4
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 18,978
Blog Entries: 28

Rep: Reputation: 6067Reputation: 6067Reputation: 6067Reputation: 6067Reputation: 6067Reputation: 6067Reputation: 6067Reputation: 6067Reputation: 6067Reputation: 6067Reputation: 6067
You could open an instance of top in a terminal to observe Firefox's use of memory over time. That might tell you something.
 
Old 11-19-2015, 09:06 PM   #5
berndbausch
LQ Addict
 
Registered: Nov 2013
Location: Tokyo
Distribution: Mostly Ubuntu and Centos
Posts: 6,316

Rep: Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002
Quote:
Originally Posted by RandomTroll View Post
3 times since I upgraded to Firefox 42.0 (November 4) it has slowed down by a factor of, perhaps, millions: I would move the mouse as if to highlight some text but only 10 minutes later would it highlight; I tried to open a new tab but it wouldn't get around to opening that page it opens for new tabs for hours.

The second time I started top and saw that Firefox was using 100% or nearly 100% of CPU time (though this didn't slow down other apps) and its RAM use would increase .1% nearly every refresh. After a few hours it would exhaust RAM, quit, reporting a failure to allocate 0x100 bytes and a segmentation fault.

I ran Opera to use the Internet. Cor-el @ Mozilla had nothing useful to suggest.

I'm not looking for a diagnosis, I just wanted to know if this is a memory leak.
I'd say textbook definition of memory leak, combined with something running wild on the CPU. Did you install a fishy add-in?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Memory leak: How risky not to free allocated memory. kaz2100 Linux - General 1 12-24-2008 12:00 AM
Inactive memory issue, Freebsd (memory leak?) JasperB *BSD 7 08-12-2008 03:19 AM
Memory Leak?! RoaCh Of DisCor Linux - General 9 05-07-2005 12:26 AM
memory leak mdk Mandriva 1 09-17-2004 10:54 AM
Memory Leak when using memory debugging C program on SuSE SLES8 babalina Linux - Distributions 0 10-06-2003 09:39 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:12 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration