empty requestAnimationFrame() callback leaks memory
Reported by
chkspea...@gmail.com,
Aug 24 2016
|
|||||||||||||||
Issue descriptionUserAgent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.116 Safari/537.36 What steps will reproduce the problem? (1)Load index.html (2)Wait and see the memory usage in the task manager What is the expected result? Memory used by Chrome remains relatively stable What happens instead? After 14 hours the memory usages are above than 200Mb.
,
Aug 26 2016
,
Aug 29 2016
,
Aug 29 2016
,
Aug 30 2016
ABle to reproduce the issue on win10 chrome version 52.0.2743.116 - memory keeps on increasing Waited for 4 hors and memory increased to 81MB approx Confirming the issue. This is working fine on firefox Will work and update the regression details soon
,
Aug 30 2016
,
Aug 31 2016
Observed that the memory is increasing from M30 builds to latest canary. Hence can be considered a non regression issue.
,
Sep 26 2016
I observed memory usage increase even with the following code:
<script>
function update() {
requestAnimationFrame(update);
}
requestAnimationFrame(update);
</script>
Also, confirmed that node count was correctly decreased by GC.
,
Sep 26 2016
Running Linux Chrome stable 53. Observed that the size of a V8 heap snapshot didn't change from 3.3MB as the tab process memory usage increased by 1MB.
,
Sep 26 2016
,
Nov 9 2016
,
Nov 17 2016
What's the update here? A memory leak like this is pretty serious.
,
Nov 22 2016
Tested using Linux Chrome 56 with the original test case and --enable-heap-profiling. Recorded a trace over the course of 5 minutes taking a memory trace before and after (but not during as it adds too much overhead). The test was in the renderer with pid 12785. Memory increased by ~4MB which was consistent with what I saw in Chrome's task manager. Between the before and after traces: - blink_gc free_size increased by 1.4MB, mostly in HashTable and NormalPage4. - malloc's size increased by ~3MB, 1MB to <unspecified> and 2MB to memory metadata_fragmentation_caches.
,
Nov 22 2016
I'm not sure how to interpret these numbers or whether I'm looking into the most useful data. Could someone with experience in memory usage investigation share what they think of this?
,
Nov 22 2016
,
Nov 24 2016
hajimehoshi@: Would you take a look at this? Bumping up the priority to P1.
,
Nov 24 2016
|
|||||||||||||||
►
Sign in to add a comment |
|||||||||||||||
Comment 1 by msrchandra@chromium.org
, Aug 26 2016