Closed
Bug 497743
Opened 15 years ago
Closed 15 years ago
Audit site for more collections-related memory problems
Categories
(addons.mozilla.org Graveyard :: Collections, defect, P1)
Tracking
(Not tracked)
RESOLVED
FIXED
5.0.7
People
(Reporter: fligtar, Assigned: jbalogh)
Details
Attachments
(1 file, 2 obsolete files)
13.37 KB,
patch
|
clouserw
:
review+
|
Details | Diff | Splinter Review |
We should audit the site for queries that pull collections data without need to avoid more bugs like bug 497706. Jeff says anything using getListAddons() is succeptible.
Reporter | ||
Comment 1•15 years ago
|
||
Jeff mentioned that the category landing pages are prone to this. They are starting to load a bit slowly for me. The irony of this bug is that we don't yet have a page to list all of the collections associated with an add-on (bug 491407), but random other pages are pulling that data. :)
Updated•15 years ago
|
Priority: -- → P1
Comment 2•15 years ago
|
||
Currently visible on https://addons.mozilla.org/en-US/firefox/browse/type:1/cat:5; AMO serves a page with 0-byte content-length.
Reporter | ||
Comment 3•15 years ago
|
||
Jeff is taking the category page emergency. We'll probably have to apply the patch locally since we've had so many changes since last svn up.
Assignee: nobody → jbalogh
Severity: normal → blocker
Assignee | ||
Comment 4•15 years ago
|
||
may lose some sorting functionality in the switch; oh well
Attachment #384184 -
Flags: review?(clouserw)
Updated•15 years ago
|
Attachment #384184 -
Flags: review?(clouserw) → review+
Comment 5•15 years ago
|
||
Comment on attachment 384184 [details] [diff] [review] quick patch to use getAddonList I dropped around 15 add-ons on this page in over 1000 collections each and this patch still let the pages render with a 32M memory_limit.
Assignee | ||
Comment 6•15 years ago
|
||
Including the search controller this time.
Attachment #384184 -
Attachment is obsolete: true
Attachment #384188 -
Flags: review?(clouserw)
Comment 7•15 years ago
|
||
Comment on attachment 384188 [details] [diff] [review] replacing more getAddonList I put all 10 add-ons on a search result page into between 1000 and 3000 collections each and with this patch it still worked.
Attachment #384188 -
Flags: review?(clouserw) → review+
Comment 8•15 years ago
|
||
This patch is currently on the live site
Assignee | ||
Comment 9•15 years ago
|
||
New paths affected: http://jbalogh.khan.mozilla.org/amo/site/en-US/firefox/browse/type:3 http://jbalogh.khan.mozilla.org/amo/site/en-US/firefox/browse/type:2/ http://jbalogh.khan.mozilla.org/amo/site/en-US/firefox/browse/type:4
Attachment #384188 -
Attachment is obsolete: true
Attachment #384253 -
Flags: review?(clouserw)
(In reply to comment #8) > This patch is currently on the live site I can confirm that this (at least temporarily) fixes the blank pages I was seeing; ran my Selenium script and clicked around for a while.
Updated•15 years ago
|
Attachment #384253 -
Flags: review?(clouserw) → review+
Assignee | ||
Comment 11•15 years ago
|
||
Committed in r28244; most of it is already in production.
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Updated•8 years ago
|
Product: addons.mozilla.org → addons.mozilla.org Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•