New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 642601 link

Starred by 3 users

Issue metadata

Status: Available
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Mac
Pri: 2
Type: Bug



Sign in to add a comment

SVG infinite animation lead to memory increase and high CPU utilization

Reported by shelbeni...@gmail.com, Aug 31 2016

Issue description

UserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.116 Safari/537.36

Steps to reproduce the problem:
1.  open this demo: https://jsfiddle.net/m5up9fpo/4/
2.  open task manager
3.  see memory and cup utilization, it may need some time to see the change

What is the expected behavior?
memory should be stable, no increase

What went wrong?
memory increase in both windows and mac OS, high CPU utilization on Mac

Did this work before? N/A 

Chrome version: 52.0.2743.116  Channel: stable
OS Version: OS X 10.10.3
Flash Version: Shockwave Flash 22.0 r0

also post a question on stackoverflow: http://stackoverflow.com/questions/39232264/svg-infinite-animation-lead-to-memory-increase-and-high-cpu-utilization
 
start_test.png
83.7 KB View Download
end_test.png
82.2 KB View Download
mac.png
48.0 KB View Download
Cc: rnimmagadda@chromium.org
Labels: M-53 Stability-Memory
Status: Untriaged (was: Unconfirmed)
Able to repro this issue on MAC (10.11.6) for Google Chrome Stable Version - 52.0.2743.116

This is a Non-Regression issue existing from M45 - # 45.0.2454.0

Before this build, there is no animation in the JSFiddle provided.




Not observed on Windows (7) & Linux (Ubuntu Trusty [14.04]) OS.

Comment 3 by f...@opera.com, Aug 31 2016

Components: -Platform>DevTools Blink>Animation

Comment 4 by suzyh@chromium.org, Aug 31 2016

Components: -Blink>Animation Blink>Layout
Investigating on Ubuntu with v54.0.2840.6.

Heap profiling (https://chromium.googlesource.com/chromium/src/+/master/components/tracing/docs/heap_profiler.md) is showing a large amount of memory going into:

FrameView::performLayout
VisibleUnits::mostBackwardCaretPosition
EditingUtility::previousVisuallyDistinctCandidateAlgorithm
VisibleUnits::mostForwardCaretPosition
VisibleUnits::mostForwardCaretPosition
startWordBoundary

Passing over to the layout team for further triage.

Comment 5 by e...@chromium.org, Sep 8 2016

Components: Blink>SVG
Status: Available (was: Untriaged)
Project Member

Comment 6 by sheriffbot@chromium.org, Sep 8 2017

Labels: Hotlist-Recharge-Cold
Status: Untriaged (was: Available)
This issue has been Available for over a year. If it's no longer important or seems unlikely to be fixed, please consider closing it out. If it is important, please re-triage the issue.

Sorry for the inconvenience if the bug really should have been left as Available. If you change it back, also remove the "Hotlist-Recharge-Cold" label.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
Labels: -Hotlist-Recharge-Cold PaintTeamTriaged-20170908 BugSource-User
Status: Assigned (was: Untriaged)

Comment 8 by f...@opera.com, Sep 8 2017

Status: Available (was: Assigned)
Project Member

Comment 9 by sheriffbot@chromium.org, Sep 10

Labels: Hotlist-Recharge-Cold
Status: Untriaged (was: Available)
This issue has been Available for over a year. If it's no longer important or seems unlikely to be fixed, please consider closing it out. If it is important, please re-triage the issue.

Sorry for the inconvenience if the bug really should have been left as Available.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
Status: Available (was: Untriaged)
If someone has time, could they re-verify this?
I've had the TC running during the day, and the memory usage has been growing slowly (~4k/second or so based on the Task Manager readings.)

Sign in to add a comment