views:

100

answers:

1

We are working on a JavaScript application that does has been crashing for no reason that we can see. The nature of the application is that it uses javascript to redirect the page every few seconds. and rotates through a number of web pages in a set ammount of time.

So in searching for a potential memory leak in our code we set it up to run in firefox for a few days. while it was running we daily took note of the firefox memory use. It did as we suspected. the memory foot print grew over that time. so we decided to test firefox using the following setup: two html pages, each having an image on them. both use a meta redirect to keep up the switching between pages. these pages are displayed in an iframe on a 3rd page.

This set up showed the same result. an increasing memory allocation over time. however. it should be noted that we tested this same setup in firefox but without the Iframe, and saw no increase in memory usage.

so the question: Any ideas what would be causing this? or does anyone know if there are any reported memory leaks in Firefox when using an Iframe and page redirection?

A: 

Did the rate of increase of memory use decrease over time and eventually stop, or did it keep growing? Some increase in memory is expected at the start of a test like that, because of memory fragmentation.

Is the testcase posted somewhere?

David Baron