Issue 23525 in dart: Memory leaks when reading offsetWidth/offsetHeight in dartium

13 views
Skip to first unread message

da...@googlecode.com

unread,
May 25, 2015, 11:33:28 AM5/25/15
to bu...@dartlang.org
Status: New
Owner: ----
Labels: Type-Defect Priority-Unassigned

New issue 23525 by a.serg...@dglogik.com: Memory leaks when reading
offsetWidth/offsetHeight in dartium
https://code.google.com/p/dart/issues/detail?id=23525

What steps will reproduce the problem?
1. Run test application attached, it just changes display state and reads
offsetWidth and offsetHeight
2. Open chrome task manager (shift+esc) or windows task manager
3. See how memory increases in time

Here is a video:
http://screencast.com/t/yxkWnpl9w

What is the expected output? What do you see instead?
Because application does not consume additionl resources it should not
allocate too much memory.


What version of the product are you using?
Dart SDK 1.9, 1.10 latest stable, 1.10.0 dev 1.5
Dart Editor, Web Storm, standalone browser.

On what operating system?
Win 7, Win 8.1, Ubuntu 12

What browser (if applicable)?
Chromium 39.0.2171.0


Please provide any additional information below.


Attachments:
MemoryLeaksTest.zip 7.1 KB

--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

da...@googlecode.com

unread,
May 26, 2015, 6:49:19 AM5/26/15
to bu...@dartlang.org

Comment #1 on issue 23525 by a.serg...@dglogik.com: Memory leaks when
reading offsetWidth/offsetHeight in dartium
https://code.google.com/p/dart/issues/detail?id=23525

The same issue I've got with rotation, just doing this on Divs:
div.style.transform = "rotate(${i % 90}deg)"; consumed 1GB of RAM in 2 hours

da...@googlecode.com

unread,
May 26, 2015, 4:02:50 PM5/26/15
to bu...@dartlang.org

Comment #2 on issue 23525 by z.z...@dglogik.com: Memory leaks when reading
offsetWidth/offsetHeight in dartium
https://code.google.com/p/dart/issues/detail?id=23525

dart2js version doesn't seems to have that memory leak. It's only in dartium

da...@googlecode.com

unread,
May 27, 2015, 11:18:56 AM5/27/15
to bu...@dartlang.org
Updates:
Status: Triaged
Labels: Area-Dartium

Comment #3 on issue 23525 by sand...@google.com: Memory leaks when reading
offsetWidth/offsetHeight in dartium
https://code.google.com/p/dart/issues/detail?id=23525

(No comment was entered for this change.)

da...@googlecode.com

unread,
May 29, 2015, 7:22:21 PM5/29/15
to bu...@dartlang.org
Updates:
Cc: as...@google.com

Comment #4 on issue 23525 by as...@google.com: Memory leaks when reading
offsetWidth/offsetHeight in dartium
https://code.google.com/p/dart/issues/detail?id=23525

Does this leak also happen only on windows? I have been running your test
on my linux box for over 2 days and the memory footprint for the tab is
about 830M.

da...@googlecode.com

unread,
Jun 2, 2015, 9:05:50 AM6/2/15
to bu...@dartlang.org

Comment #5 on issue 23525 by a.serg...@dglogik.com: Memory leaks when
reading offsetWidth/offsetHeight in dartium
https://code.google.com/p/dart/issues/detail?id=23525

Hi, sorry for delay, I performed more testing on my virtual box with ubuntu
12. Here is video where it consumed more than 1.5GB
http://screencast.com/t/7wCdEurkq, sometimes it dies at about 700-900MB.
Even if it's 800Mb it's sufficient amout of memory for application that
starts from 70MB and does nothing.
Reply all
Reply to author
Forward
0 new messages