gwget fills up all available memory

Bug #111489 reported by Milen
16
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gwget2 (Ubuntu)
Won't Fix
Undecided
Unassigned

Bug Description

Binary package hint: gwget

Gwget starts by using 7-8 MB of RAM when I run it and continues to fill it up until it reached 1.8GB out of my 2GB. At that point the system was barely crawling as it was running out of RAM. When I restarted gwget everything was back to normal except that it continued to behave the same way.

It filled up the RAM with about 100-200KBps and it didn't seem to matter if I have just a few or many downloads open. When they finish downloading I will see if it will do the same without any downloads.

P.S. The version I have is 0.98.1 in Feisty.

Milen (milen243)
description: updated
Revision history for this message
Alex Savvin (savvin) wrote :

I see the same memory leak with gwget-0.98.1 in Ubuntu 7.04. I suppose the memory leak is caused by buffering of wget output in memory.

Revision history for this message
Daniel T Chen (crimsun) wrote :

Is this symptom still reproducible in 8.10 beta?

Changed in gwget2:
status: New → Incomplete
Revision history for this message
Ypthor (ypthor) wrote :

Confirmed in 8.10.
~40 downloads in the list
~450 MB downloaded
1.2 G memory usage

Restarted gwget -> ~23MB
Started all downloads -> ~85 MB
And then it is steadily climbing. I can't tell precisely, but it seems, the memory usage is growing faster than download speed.

Revision history for this message
Ypthor (ypthor) wrote :

Another test:
Right after start of gwget -> 14,5 MB
After removing downloaded files from list -> 16,8 MB
After exit and restart -> 13,8
Right after continuing all downloads -> 70 MB

Revision history for this message
Artur Rona (ari-tczew) wrote :

Could you test this problem with gwget 1.0.1, please?
Please add repos from my ppa https://launchpad.net/~ari-tczew/+archive/ppa or download .debs and install.

Revision history for this message
Artur Rona (ari-tczew) wrote :

Can you reproduce this bug with Gwget 1.0.1? If yes, please open new bug report on the Gnome's bugzilla. If not, this bug will be closed.

Revision history for this message
Ypthor (ypthor) wrote :

I tried installing the amd64 package, but it said: "Error: Dependency is not satisfiable: libdbus-glib-1-2"

libdbus-glib-1-2 is installed. I reinstalled it and also installed the dev package, just in case, but that didn't help.

I see the package was built on Jaunty and I still have Ibex...could this be the cause?
Anyway I'll try it on Jaunty as soon as it comes out.

Revision history for this message
Ypthor (ypthor) wrote :

So I downloaded (https://launchpad.net/%7Eari-tczew/+archive/ppa/+files/gwget_1.0.1-0ubuntu3_amd64.deb)
and installed it on jaunty, but it's behavior (as well as that of the official package) just got worse.

Now as soon as I add a file (~60 MB) to download the memory usage skyrockets at the speed of ~500 megabytes/sec and soon freezes the system (and I mean power-button-freeze :)

This was done on a 64bit Jaunty upgraded from Intrepid.

I'd like to mention, that although I "purge"-d the packages when removing (as I tried installing several times) configuration data still remained and I had to find and delete it manually. I was led to believe that purge completely removes a package, config files included. Am I wrong?

Revision history for this message
Ypthor (ypthor) wrote :

I've tried the i386 version on another computer on a relatively fresh, non-upgraded 32bit Jaunty 9.04.
Same results.

Revision history for this message
John M (jwmwalrus) wrote :

I have been able to reproduce this bug a lot of times today, by just dragging a file from nautilus and dropping it into gwget. I tried different kinds of files (html, tgz, exe, png), with the same results. I hope that helps.

...:~$ lsb_release -rd
Description: Ubuntu 9.04
Release: 9.04

...:~$ apt-cache policy gwget
gwget:
  Installed: 1.0.1-0ubuntu1
  Candidate: 1.0.1-0ubuntu1
  Version table:
 *** 1.0.1-0ubuntu1 0
        500 http://us.archive.ubuntu.com jaunty/universe Packages
        100 /var/lib/dpkg/status

Revision history for this message
Artur Rona (ari-tczew) wrote :

OK, so if bug is still exist, bug needs report on upstream bugtrack.

Revision history for this message
Muflone (il-muflone) wrote :

the same bug afflicts jaunty amd64

apt-cache policy gwget
gwget:
  Installato: 1.0.1-0ubuntu1
  Candidato: 1.0.1-0ubuntu1
  Tabella versione:
 *** 1.0.1-0ubuntu1 0
        500 http://it.archive.ubuntu.com jaunty/universe Packages
        100 /var/lib/dpkg/status

It filled over 6 GiB of memory in few seconds before I could kill it
It happens only dragging a url in the gwget window, whatever is the size of the file to download
using instead the "New" button it works well

Artur Rona (ari-tczew)
Changed in gwget2 (Ubuntu):
status: Incomplete → New
Revision history for this message
John M (jwmwalrus) wrote :

This was reported more than two years ago, can seriously (and easily) crash the system, and can be reproduced in Karmic... and is still in "New" status and "Undecided" importance?

...@karmic-desktop:~$ uname -a
Linux karmic-desktop 2.6.31-11-generic #38-Ubuntu SMP Fri Oct 2 11:55:55 UTC 2009 i686 GNU/Linux

...@karmic-desktop:~$ lsb_release -rd
Description: Ubuntu karmic (development branch)
Release: 9.10

...@karmic-desktop:~$ apt-cache policy gwget
gwget:
  Installed: 1.0.2-0ubuntu2
  Candidate: 1.0.2-0ubuntu2
  Version table:
 *** 1.0.2-0ubuntu2 0
        500 http://mirrors.nl.eu.kernel.org karmic/universe Packages
        100 /var/lib/dpkg/status

Revision history for this message
Clint Byrum (clint-fewbar) wrote :

So it looks like gwget2 was removed from 11.10, and from Debian.

Thus, I don't think this bug will be fixed.

Marking as Won't Fix.

Changed in gwget2 (Ubuntu):
status: New → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.