Closed Bug 475314 Opened 15 years ago Closed 15 years ago

Memory leak and/or O(n²) algorithm in syncing tabs

Categories

(Cloud Services :: General, defect)

x86
macOS
defect
Not set
major

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: dominique, Unassigned)

Details

Attachments

(3 files)

User-Agent:       Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.0.5) Gecko/2008120121 Firefox/3.0.5 GTB5
Build Identifier: 

Whenever I open Firefox, it takes a looooong time (> 15 minutes) to do the initial sync; during that time, Firefox consumes gobs of memory and becomes unresponsive with symptoms very similar to bug #446314.  Bugs #453073, #456759, #472922 and #448247 might also be the symptoms of the same problem.

During the time the sync is happening, I see no activity server-side (I run my own WebDAV server).  However the Weave pinwheel is spinning like mad and the memory consumption shoots up.

The situation has worsened gradually over the 7 months I've been using Weave, with various versions (using 0.2.7.1 right now).

**Disabling tabs syncing solves the problem.** After this, Weave is as snappy and responsive as on day one.



Reproducible: Always

Steps to Reproduce:
1. Use Weave for a while (months in my case)
2. Close Firefox and re-open
Actual Results:  
Firefox feasts on system memory and is unresponsive to the user.  Weave pinwheel in status bar spins like crazy for 15 minutes.


Expected Results:  
Firefox usable, Weave sync done in a matter of seconds.


Mac OS X version 10.5.5, Firefox 3.0.5, Weave 0.2.7.1
Similar behavior can be reproduced on work computer (Ubuntu Hardy i386 with distro's Firefox, cannot check exact version details right now)
Bugzilla wasn't as smart as I hoped so here again are the links to bugs that may be duplicates of this one: bug #446314, bug #453073, bug #456759,
bug #472922 and bug #448247.
Attached file Weave's Brief Log
Timestamps are accurate (my Macbook is on NTP).
Attached file Weave's Verbose Log
Again, timestamps are accurate.  The faulty session started at 9:56 and ended at 10:15 or so.
Attached file WebDAV server log
Server is also on NTP so timestamps again are accurate.
FWIW my /priv/weave/user/domq/user-data/tabs directory only weighs 12 kbytes.  The files in there seem to be encrypted; I could decrypt and post them if someone explains me how.
Hi!  Thanks for being so thorough, but 0.2.7.1 is not being maintained anymore.  It's the last version we released with WebDAV support, and we've since moved to a new server, with much of the client rewritten.  The latest version of the client right now is 0.2.99.

Thus, I'm closing this bug.  0.2.99 doesn't have tabs support yet, but we will be adding it in the next few weeks.
Status: UNCONFIRMED → RESOLVED
Closed: 15 years ago
Resolution: --- → INVALID
Component: Weave → General
Product: Mozilla Labs → Weave
Target Milestone: -- → ---
QA Contact: weave → general
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: