Note that there are some explanatory texts on larger screens.

plurals
  1. POie does not free memory even when iframe is closed
    primarykey
    data
    text
    <p>I have 15 iframes in a web page.</p> <pre><code>&lt;iframe id="iframe0" style="left: 1px; visibility: visible; width: 100%; position: absolute; top: 23px; border: 1px solid #8db1e3;" frameborder="0" scrolling="auto"&gt;&lt;/iframe&gt; &lt;iframe id="iframe1" style="left: 1px; visibility: visible; width: 100%; position: absolute; top: 23px; border: 1px solid #8db1e3;" frameborder="0" scrolling="auto"&gt;&lt;/iframe&gt; &lt;iframe id="iframe2" style="left: 1px; visibility: visible; width: 100%; position: absolute; top: 23px; border: 1px solid #8db1e3;" frameborder="0" scrolling="auto"&gt;&lt;/iframe&gt; &lt;iframe id="iframe3" style="left: 1px; visibility: visible; width: 100%; position: absolute; top: 23px; border: 1px solid #8db1e3;" frameborder="0" scrolling="auto"&gt;&lt;/iframe&gt; &lt;iframe id="iframe4" style="left: 1px; visibility: visible; width: 100%; position: absolute; top: 23px; border: 1px solid #8db1e3;" frameborder="0" scrolling="auto"&gt;&lt;/iframe&gt; &lt;iframe id="iframe5" style="left: 1px; visibility: visible; width: 100%; position: absolute; top: 23px; border: 1px solid #8db1e3;" frameborder="0" scrolling="auto"&gt;&lt;/iframe&gt; &lt;iframe id="iframe6" style="left: 1px; visibility: visible; width: 100%; position: absolute; top: 23px; border: 1px solid #8db1e3;" frameborder="0" scrolling="auto"&gt;&lt;/iframe&gt; &lt;iframe id="iframe7" style="left: 1px; visibility: visible; width: 100%; position: absolute; top: 23px; border: 1px solid #8db1e3;" frameborder="0" scrolling="auto"&gt;&lt;/iframe&gt; &lt;iframe id="iframe8" style="left: 1px; visibility: visible; width: 100%; position: absolute; top: 23px; border: 1px solid #8db1e3;" frameborder="0" scrolling="auto"&gt;&lt;/iframe&gt; &lt;iframe id="iframe9" style="left: 1px; visibility: visible; width: 100%; position: absolute; top: 23px; border: 1px solid #8db1e3;" frameborder="0" scrolling="auto"&gt;&lt;/iframe&gt; &lt;iframe id="iframe10" style="left: 1px; visibility: visible; width: 100%; position: absolute; top: 23px; border: 1px solid #8db1e3;" frameborder="0" scrolling="auto"&gt;&lt;/iframe&gt; &lt;iframe id="iframe11" style="left: 1px; visibility: visible; width: 100%; position: absolute; top: 23px; border: 1px solid #8db1e3;" frameborder="0" scrolling="auto"&gt;&lt;/iframe&gt; &lt;iframe id="iframe12" style="left: 1px; visibility: visible; width: 100%; position: absolute; top: 23px; border: 1px solid #8db1e3;" frameborder="0" scrolling="auto"&gt;&lt;/iframe&gt; &lt;iframe id="iframe13" style="left: 1px; visibility: visible; width: 100%; position: absolute; top: 23px; border: 1px solid #8db1e3;" frameborder="0" scrolling="auto"&gt;&lt;/iframe&gt; &lt;iframe id="iframe14" style="left: 1px; visibility: visible; width: 100%; position: absolute; top: 23px; border: 1px solid #8db1e3;" frameborder="0" scrolling="auto"&gt;&lt;/iframe&gt; </code></pre> <p>Each of those iframes calls some web pages with huge amount of gridview in .NET. I am developing these pages using ASP.NET. Here my problem starts.</p> <p>I understand that iexplorer.exe is growing up since I load lots of data in these pages. It goes up to 400MB sometimes. But the problem is that even if I close the iframe which means... I make one of those iframes src = about:blank and make it display = none; However the size of iexplorer.exe's memory does not go down. It does not free the memory. How can I let the memory go down to normal? Actually, I have tested in IE8. But IE9 seems to be freeing the memory. I am not sure.</p> <p><strong>EDIT:</strong> I close the iframe as velow</p> <pre><code>document.all['iframe' + menuOrder[currentTab]].src = "about:blank"; document.all['iframe'+menuOrder[currentTab]].style.visibility="hidden"; </code></pre>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload