IE memory leak

49 views
Skip to first unread message

Rostislav Hristov

unread,
Apr 29, 2008, 4:38:52 AM4/29/08
to swfo...@googlegroups.com
Hi guys,

yesterday I was warned about a memory leak issue with SWFAddress and
so far it seems that the problem is caused by SWFObject 2.

For more info you can follow this thread:
https://sourceforge.net/forum/forum.php?thread_id=2022366&forum_id=630934

I think I'm able to reproduce the problem with this test case:
http://www.swffix.org/swfobject/testsuite/test_dynamic_com.html

Here with every refresh the IE memory increases with about 2
megabytes. With heavy websites it's probably much more.


Best,
Rostislav


--
Asual - Open software that pushes the limits
http://www.asual.com/

Bobby

unread,
Apr 29, 2008, 5:09:31 AM4/29/08
to SWFObject
Hi Rotislav, I will look into it.

Getify Solutions, Inc.

unread,
Apr 29, 2008, 8:27:18 AM4/29/08
to swfo...@googlegroups.com
I can confirm the same thing happens for me with that test page with IE7 on
a winxp sp2 machine. I see it climb by ~2MB with each page refresh.

--Kyle

--------------------------------------------------
From: "Rostislav Hristov" <rostisla...@gmail.com>
Sent: Tuesday, April 29, 2008 3:38 AM
To: <swfo...@googlegroups.com>
Subject: IE memory leak

Getify Solutions, Inc.

unread,
May 1, 2008, 8:51:50 AM5/1/08
to swfo...@googlegroups.com
Is there a bug reported against this one? I've been able to confirm that a
simple test page I have has memory leaks when the swf is included via
swfobject 2 (embedswf), but not when the same swf on the same page is
included via some other method, such as manually in the HTML or via Adobe's
(really poorly done) AC_RunActiveContent.js method.

Do we need to officially file a bug about this memory leak issue?

--Kyle

--------------------------------------------------
From: "Bobby" <bobbyvan...@gmail.com>
Sent: Tuesday, April 29, 2008 4:09 AM
To: "SWFObject" <swfo...@googlegroups.com>
Subject: Re: IE memory leak

Bobby

unread,
May 1, 2008, 9:18:00 AM5/1/08
to SWFObject

Bobby

unread,
May 4, 2008, 4:13:59 PM5/4/08
to SWFObject
I managed to solve all memory leak issues. A description of the
different issues and the resolution can be found in issue report 84:
http://code.google.com/p/swfobject/issues/detail?id=84&can=1

Please note that currently we are working on SWFObject 2.1, which will
address a series of issues - of which this issue is the biggest one,
all others are relatively small -, and will contain a couple of
enhancements. We hope to release this new version as soon as possible,
no dates are planned yet.

jrotondo

unread,
Jun 23, 2008, 3:32:55 PM6/23/08
to SWFObject
I've just updated to swfobject 2.1 rc1 and I still experience memory
leaks in IE7. I have a page with a 3MBFlash file, and if I load the
page and just let it sit there, the memory usage keeps slowly climbing
and climbing. After 5 minutes on the page, I've used up 344,476K of my
available memory, and it keeps climbing. Is there anything I can do to
help find the problem?

Thanks,
J



On May 4, 4:13 pm, Bobby <bobbyvandersl...@gmail.com> wrote:
> I managed to solve allmemoryleakissues. A description of the

Aran Rhee

unread,
Jun 23, 2008, 9:24:59 PM6/23/08
to swfo...@googlegroups.com
Does this happen on all swf files, or just your specific one? Does the
memory leak happen with standard object/embed? I would simplify the page /
file as much as possible and see if it still occurs. If not, then it is
probably something within your specific swf.

3Mb is pretty big - Do you have video or other looping media which might be
requesting more and more ram without being GC'ed (garbage collected) ?
Remember Flash player will only release something from memory if there are
NO references to it any more (ie if you hold a variable reference to a MC,
even if you remove the MC from the stage, it will still be in memory until
you delete the variable as well)


Aran

-----Original Message-----
From: swfo...@googlegroups.com [mailto:swfo...@googlegroups.com] On
Behalf Of jrotondo
Sent: Tuesday, 24 June 2008 5:33 AM
To: SWFObject
Subject: Re: IE memory leak

Reply all
Reply to author
Forward
0 new messages