Bug 20964 - Huge memory usage on Dromaeo test
Summary: Huge memory usage on Dromaeo test
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: JavaScriptCore (show other bugs)
Version: 528+ (Nightly build)
Hardware: PC Windows XP
: P2 Normal
Assignee: Nobody
URL: http://dromaeo.com
Keywords: InRadar, NeedsReduction
Depends on:
Reported: 2008-09-20 10:34 PDT by Robert Xiao
Modified: 2009-08-24 05:58 PDT (History)
3 users (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Robert Xiao 2008-09-20 10:34:33 PDT
On Dromaeo, performing the test causes Safari's memory usage to climb through the first few tests, increasing by around 80MB from 144 to 220 MB (this seems normal), then suddenly increase by around 600MB to 830MB right before it starts to run the "DOM Modification (Prototype)" test. The memory usage then stays constant for the remainder of the test. Running the test a second time produces barely any increase, but closing the Dromaeo tab does not cause the memory usage to decrease.

The values quoted were derived from Process Explorer's "Private Bytes" measurement.

For comparison, Firefox nightly never exceeds 300MB of usage throughout the test, and ends up with the same memory usage as before the test. It rises rapidly followed by rapid decrease, presumably due to periodic garbage collection.
Comment 1 Mark Rowe (bdash) 2008-09-20 16:24:42 PDT
Comment 2 Gavin Sherlock 2008-12-24 19:56:56 PST
I don't see this problem in the Mac with r39469 on 10.5.5 - RPRVT doesn't get much larger than ~200Mb, with Real Memory getting to about ~400Mb.  I certainly don't see a problem with the "DOM Modification (Prototype)".  However, the memory that is used does persist after all tests are run until the window is closed.