3 This test checks to make sure that a prerendered page using excessive memory
7 <title>Prerender -- Excessive Memory Use
</title>
10 Makes the renderer use an excessive amount of memory.
11 <script type=
"text/javascript">
13 while (string
.length
< 1024*1024)
14 string
= string
+ "---------";
16 // This allows a sufficiently long string to be created with less copying
17 // and reallocation of data, speeding the test and hopefully eliminating
20 // The maximum for the sake of this test is 30 MB, so allocate just a
22 for (var i
= 0; i
< 31; ++i
)
24 string
= array
.join();