1

I have noticed on IE8/9 that everytime I click a fancybox link it uses more memory and doesn't give it back when the box is closed. Is this supposed to happen?

Am using fbox 2.1.4 and jquery 1.9.1

I have some users that click on 30+ fbox links and then start running out of memory

user229044
  • 232,980
  • 40
  • 330
  • 338
zima10101
  • 307
  • 1
  • 4
  • 16
  • 1
    Please [don't add signatures or taglines to your posts](http://stackoverflow.com/faq#signatures). – user229044 Mar 27 '13 at 16:50
  • How much memory are we talking about here? – jrummell Mar 27 '13 at 16:51
  • depends on the iframe content, but with fresh IE - the IE memory is at 134MB first fbox = 152MB second fbox open = 175MB – zima10101 Mar 27 '13 at 16:59
  • on close the memory usage doesnt go down - just stays at 175MB – zima10101 Mar 27 '13 at 17:00
  • Are you opening `iframes` with fancybox? if so, it seems to be an IE issue rather than fancybox. Check http://support.microsoft.com/kb/2714930 and this none-answered question that already raised the issue http://stackoverflow.com/q/8577322/1055987 – JFK Mar 27 '13 at 20:11
  • Also check this answer if that helps http://stackoverflow.com/a/11514423/1055987 – JFK Mar 27 '13 at 20:13
  • Hi JFK - yes the fancybox is loading the content in iframes, and appears the above posts outline the issue im having. cant believe there is no "easy" solution - might have to drop the fbox and use jquery dialog instead thanks for your help – zima10101 Mar 27 '13 at 21:28
  • will try using the func in http://stackoverflow.com/a/11514423/1055987 – zima10101 Mar 27 '13 at 21:31
  • @zima10101 : using jQuery dialog won't make much of a difference if you still plan to open iframes. As mentioned, is an IE vs iframes related issue. – JFK Mar 28 '13 at 01:31
  • true - knew using iframes was a bad way to go – zima10101 Mar 28 '13 at 07:54
  • FYI have got round to changing fancybox type to 'ajax' and the issue is still there. Uses extra 8mb every time it opens, then doesn't give back. – zima10101 May 21 '13 at 11:19

0 Answers0