[Webkit-unassigned] [Bug 39825] New: Memory retention using timers
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu May 27 03:48:44 PDT 2010
https://bugs.webkit.org/show_bug.cgi?id=39825
Summary: Memory retention using timers
Product: WebKit
Version: 528+ (Nightly build)
Platform: Macintosh Intel
OS/Version: Mac OS X 10.6
Status: UNCONFIRMED
Severity: Major
Priority: P2
Component: JavaScriptCore
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: huntc at internode.on.net
Created an attachment (id=57216)
--> (https://bugs.webkit.org/attachment.cgi?id=57216)
Screen shot of memory consumption
I'm wondering if there's a memory retention issue given the use of timers. Here's some html:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html>
<head>
<title>Timer Memory Retention</title>
</head>
<body>
<p>Please observe memory usage with the timeline profiler.</p>
<script type="text/javascript">
setInterval(null, 100);
</script>
</body>
</html>
What we have is a script that simply sets up a timer to execute every 100ms. It makes no difference to the test whether a function is called on the timer firing.
If you load this and then use the timeline profile then you should observe memory continue to be consumed. Within a couple of minutes memory usage doubles. I have had this running for several minutes with no apparent reduction in the rate of memory consumed.
I have attached a screenshot of the memory consumption timeline.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list