Closed
Bug 299815
Opened 19 years ago
Closed 19 years ago
memory gradually increasing on page with canvas
Categories
(Core :: Graphics: Canvas2D, defect)
Tracking
()
RESOLVED
INVALID
People
(Reporter: bugs.caleb, Unassigned)
References
()
Details
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b2) Gecko/20050706 Firefox/1.0+ ID:2005070601 I'm marking this bug UNCONFIRMED because that page has lots of other content and it should probably be tested on a clean canvas testcase. But here are my results: Launch Firefox Open the URL 24,056Kb -> 48,516Kb Close tab Open page again 48,516Kb -> 49, 472Kb Close tab Open page again 48,516Kb -> 50,548Kb
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b3) Gecko/20050709 Firefox/1.0+ ID:2005070910 OK, I used this URL: http://rig.vlad1.com/~vladimir/canvas/cdemo1.html for testing. 1. Started Firefox in safe mode. 2. After pasting the url in the url 20,432KB 3. Open the URL 22,592KB 4. Close Tab, Open URL again 22,944KB 5. Close Tab, Open URL again 23,540KB 6. Close Tab, Open URL again 23,624KB
A lot of the memory won't get freed until various elements are garbage collected; so reloading once or twice isn't really a good test (I don't think). Try shift-reloading constantly for about a minute or so, then record memory usage, then shift-reload again for another 5 minutes... see what the values at the end are.
Loaded first time: 26,284K After ctrl-refreshing 50 times: 27,092K After refreshing for another minute: 27, 832K So I don't think there's a leak here.
You need to log in
before you can comment on or make changes to this bug.
Description
•