Memory leak found in flash player active-x 'CallFunction' method.

Hello,
I think I found a memory leak that results from  calling the flash player active-X object's method 'CallFunction'. Each time this  method is called it seems that memory is not properly freed.
I'm attaching here a  simple program I've made with C# that uses the shockwave flash object to load a  SWF and continuously perform calls to it using the 'CallFunction'. It also  displays the process memory so you can see how it's being increased after some  time running.
In the zip file, under the bin/release directory, you'll find the  compiled executable and both the test SWF (CallFunctionTest.swf) and its source (AS3 file) which is  just a dummy Sprite that exposes a callable method using the ExternalInterface.  The SWF has been compiled using Flex compiler (Version 3.3.0 build 4852).
The  leak may become more visible after some hours running. Also, it's interesting to  note that even by reloading the SWF without closing the application (by stopping  and restarting the stress in my test application) the memory is not freed.
As a reference, in my  computer (Intel Dual core E2180 @ 2Ghz) the test application's virtual memory  (VM64) increased from 192MB to 480MB in 4 hours. In Windows XP 32-bit when this value reaches 2GB the process runs out of memory and the application crashes.
Does anyone experienced the same problem?
I have Flash Player version 10,0,32,18 installed.
Thanks,
Joan

Hi,
I found this problem recently.
I embedded Flash in my Visual C++ project through ActiveX, and intensively call
ShockwaveFlashObjects::IShockwaveFlash::CallFunction().
It seems that every time I invoke this function, the memory usage of my program increase about 8kB, and never goes back again. I think this is caused by the internal memory leak in Flash.
Does adobe have any plan to fix this issue?
Alvin. C. Chung

Similar Messages

  • Adobe Flash Player Active X and Plugin Product Codes

    Where can I find a list of all the Adobe Flash Player Active X and Plugin product codes? I am creating an uninstall script to cleanup any old versions and would like a complete up to date listing.
    This thread here has up to version 11.4 - http://forums.adobe.com/message/6048135#6048135
    Thanks!

    Hello,
    Please refer to the MSI GUIDs tech note.  This tech note is updated regularly with each release.
    Maria

  • Some questions about the limit of memory usage of Adobe flash player in different OS & Web Browser

    Hi Adobe experts,
    I'm from HP, and now using Adobe flash player making some products about massive data displaying.
    For my target, I need to show more than 200 K rows in client web browser, using AdvancedDataGrid.
    And that may needs more than 200M to cache the data in Web browser memory space.
    So, my questions are:
    Does there any memory usage limit in flash player?
    Say, if we have 4G bytes of physical memory in machine, in Windows, how much can I use in flash player?
    Also, if we have 4G bytes of physical memory in Linux, how much can I use in flash player?
    Does it depends on the Web Browser?
    Say, is there any difference between different web browsers?
                    If the limit exists, can we control the limit?
    Say, can we define some parameters in the tag in web page to expand the limitation?
    Or, can we try to control this limitation by the Flash player management which exists in the Windows Control Panel?
    Best Regards
    Huang Haixu
    +86 18616735091
    [email protected]<mailto:[email protected]>

    1. Yes. The Toolkit for CreateJS is an extra downloadable extension for Flash CS6. It will publish html and js files that will provide the animation instead of the swf that you would normally publish. The success or failure of the resulting javascript version of your animation is the result of working within the constraints of the toolkit. You are pretty much constrained to using the timeline in Flash for your animations. If you work only in Actionscript, then the output will be very disappointing.
    2. Edge outputs javascript, css, and html to give you an animation. The user interface allows you to design within the constraints of what Edge can do. You can preview and adjust and tweek your animation as you work. Edge is an html5 tool. It can create html5 animation. It is not a replacement for Flash. It is something that you can use instead of Flash to embed animation in html.
    The problems and benefits of each are unique. Neither is a good substitute to learning javascript, css and html5. If you don't understand the code that is created from each of these tools, you can easily end up with huge, bloated, files that perform poorly. I'm very biased toward actually knowing what is going on. If I need to edit something, I want to be able to go into the code and make a change, not add an additional chunk of code to work around what was there. I don't use the timeline at all, and so nothing that I have will publish using CreateJS. Well, it will publish, but nothing happens because there is nothing on the timeline to translate.
    You can download a trial of Flash CS6 and try the Toolkit for yourself. Edge is still in free preview, you can get a copy at http://labs.adobe.com and try it to see how it works.
    Also, if you're not using the Greensock Animation Platform with Flash, have a look at that. It has recently been extended to provide Javascript analogues for most of the Libraries. http://www.greensock.com/

  • Flash Player Active X

    When viewing flash player files, i see the video but no
    sound. what could the problem be?
    I have adobe flash active x version 9.0.124.0

    When viewing flash player files, i see the video but no
    sound. what could the problem be?
    I have adobe flash active x version 9.0.124.0

  • Because I have to install the Adobe Flash Player Active X or Normal?

    Hello All, Fisrs, forgive my  English because I am Spanish.
    I can think of something funny to me. I have installed the Adobe Flash Player 10 Active X and I have Explorer 8 ( 32 bits ) , Windows Vista home Premium and every day asking me to install the Flash Player.
    Happens if install the same to Adobe Flash Player 10.3.183.5, in the same version yo have.
    I see that every day, if I look at the progras I have istalled , see this Adobe Flas Player ( active X or normal ) with a blanc icon, not the typical figure of the program.
    Not to do so the program gets installed forever. When yo reinstall it and the icon's own sotware.
    I really apreciate it that I help them see than hapening and how I can solve. Thank you very match.
    Grettings.
    Imma

    Hello and thank you
    I am attaching a photo of what I have in the Flash folder you indicate, as a photo:
    If it not attached the link see large:http://imageshack.us/f/840/sinflashejecutat.jpg/
    And then run the Flash every day . Which I can only do so by accessing or a websit that you ask me, give OK when it asks me to activate the Active X and contiunue the process because if not, would have to install it each time since the Adobe web site.
    You run the Flash Player 10 Active X , this would be the Flash folder you see in the picture below:
    and also attached the lin for if you are not good:
    http://imageshack.us/f/855/conflashplayerinstalado.jpg/
    Deputy also the page of " Programs and Features " when I open the computer:
    and the link is:
    http://imageshack.us/f/827/programesicaracsensefla.jpg/
    Merci

  • The video downloading is extremely slow after downloading Flash Player Active X (IE) and FP Plug-in

    I have Windows 7 on a 64-bit operating system, and have Firefox 19 and Internet Explorer 8. I tried installing Flash Player 11.6.602.171 from the Adobe Website and got an error message right at 47% download "can not contact reliable source." I also tried uninstalling whatever Flash Player I had, but I continued to get the same error message at 47% "can not contact reliable source." Finally, following the advice found in the link below under "Program Bar Hangs During Download," I downloaded Flash Player ActiveX (internet explorer) and Flash Player Plug-In (all other browsers). It appeared that both downloads were successful and I verified that the installation was complete in the link below under "Verify that installation is complete." It says I have Flash Player 11.6.602.171. My issue now is that whenever I watch videos that use Flash Player, the downloading of videos is extremely slow.  For example, a 45 second youtube video might take 30 minutes to watch. I have tried everything (from General Info, Download Issues, Installation Issues, Post-Installation Issues) in this Adobe installation problem page http://helpx.adobe.com/flash-player/kb/installation-problems-flash-player-windows.html but the problem has not improved. Can someone please help me? It would be greatly appreciated. Thanks!

    First, I went on this link under Progress Bar Hangs During Download
    http://helpx.adobe.com/flash-player/kb/installation-problems-flash-player-windows.html#mai n-pars_header
    and then I downloaded Flash Player directly by clicking the links provided Flash Player for ActiveX (IE) and then Flash Player Plug-In (All browsers).  After my installations were complete, I tried watching any youtube videos or videos on www.ABC.com and the loading of videos was extremely slow.

  • Does Facebook use flash player Active x?

    Does it need it for the games on there or need it in general?

    I don't understand your question...
    Under Internet Explorer, Flash Player installs as an ActiveX Control.
    Under all other browsers, Flash Player installs as a plugin.

  • C an anyone help with Flash Player Activation help?

    Cannot install Flash Plater on firefox. Get error message: Procedure entry point Set Dll directory W could not be located i the Dynamic link libray. I have been troubleshooting this for a week and cannot get information I need to address this. Can anyone help.

    Assuming that you are on Windows 2000: see this topic for a solution http://forums.adobe.com/thread/965334
    [moving topic to Flash Player forum]

  • Flash Player Active X11 Problems

    I have updated the new Flash Player 11 and now when i got to websites, it states I don't have a flash player or need to update. I have unistalled and installed it multiple times. I have also followed the troubleshooting steps online. I don't know what else to do.

    Please try the mentioned link to troubleshoot Flash:
    Win: http://helpx.adobe.com/flash-player/kb/uninstall-flash-player-windows.html
    Mac: http://helpx.adobe.com/flash-player/kb/uninstall-flash-player-mac-os.html

  • Big memory leak in Snow Leopard?  Active memory out of control!

    I just restarted my computer about 40 minutes ago to solve this problem once and my active memory is already out of control.  Activity monitor says there's over 5.2 GB of active memory, but looking at the process list there's not nearly that much.  I'll add a link to a screenshot of my activity monitor.  I have run absolutely nothing that is not in the list currently.  Any idea what's going on?
    http://i.imgur.com/DGUcf.png

    Well, thanks for your concern, but I won't miss you if you don't post another reply.
    I did some watching and I have a little more info.  I kept activity monitor open and kept an eye on it after another reboot.  The apps I had open were: FCP, Compressor, Safari (open to gmail in the background and this thread in another tab), and iTunes.  Nothing else.
    At some point, without me doing anything specific to prompt it, the active memory (yellow) jumped from ~1.3GB all the way up to ~5.5 in the span of about 5 or 6 seconds.  When I say I didn't do anything, I mean I happened to be doing something on my phone when I noticed it.  I suspect it has something to do with Safari, but even when I shut every program down, the active memory stays at around 5-5.5 GB.  The only thing I can do to get it down is to reboot.

  • Solution found for Flash Player

    The young generation found the solution for my problems. Just an other browser. Not IE but Firefox and FP is working!!Hope it stays that way!

    Madperson, thank you for your post. I have downgraded to 11.2 (it was hard to find), but if finally solved the problem. Cant understand how Adobe distributes a new version without checking this kind of compatibility. I had to clean some registry's data to downgrade and had problems with the old version available in Adobe's site. Had to search a different source and it is working now. Thanks again !!!

  • Error 1722 when installing Adobe Flash Player 10.1 (Active X MSI)

    Hi,
    I'm experiencing an issue with installing the latest Adobe Flash 10.1 (ActiveX MSI) on Windows XP.
    It's coming up with error code 1722 stating...
    "There is a problem with this Windows Installer package. A program run as part of the setup did not finish as expected. Contact your support personnel or package vendor. Action NewCustomAction1, location: ...\InstallAX.exe, com..."
    I've tried many things such as SubInACL resets, ISScript 11 installer, adobe uninstallers, manually register ocx files, using the local administrator account, changing Internet Explorer Security settings, running Proc Mon to identify the issue - to no avail -, downloading the MSI file again, running the EXE file, but I can't seem to install the player.
    The real scary side to this is that it seems to me that it's too unstable for me to deploy it across the entire corporate network due to using these fixes to have the player installed.
    Is anybody able to comment or assist in finding a solution to this problem.
    Regards,
    SG

    Success!!
    I found the reason why the Adobe Flash Player Active X Control wasn't installing properly was due to McAfee Virus Scan Enterprise.
    The Access Protection - Anti-Spyware Standard Protection module was causing the executables (when installing) to NOT accessing specific parts of the registry to complete the installation.
    I've had to make the following changes to my McAfee policies in order to allow the Adobe Flash Player Active X Control to install successfully.
    Anti-Spyware Standard Protection - Protect Internet Explorer favorites and settings
    Processess to exclude:-
     InstallAX.exe
    FlashUtil10h.exe
    Uninstall_flash_player.exe
    You might be able to make similar changes to your environment if you're using another product.
    I hope this helps anyone who is experiencing the same issue that I was experiencing whilst trying to understand what was happening in our environment.
    All the best,
    spirosl

  • Abobe Flash Player 9, Active X

    Something really wierd is happening.
    Over the course of the last few days I have had to reinstall
    my Adobe Flash Player because it keeps disappearing from my system.
    I have tried a few things and I think that I have narrowed it
    down to the exact problem.
    Everytime that I delete the temp files in IE, the Adobe Flash
    Player active X disappears from my add-ons and from the add/remove
    in the control panel.
    Does anyone know why this is happening? This only started
    happening within the last few days because I always clear the temp
    files and Flash Player's Active X never disappearing before!
    Yikes, this is to wierd! I may be wrong on this but I'm
    thinking that possibly the latest Microsoft patch that I downloaded
    on Tuesday may be the culprit.(KB929969) ??
    Thanks for your time,
    Decorte

    It is recommended that you remove older versions of Flash
    Player (unless they are needed for developer testing) when
    deploying the new MSI.
    There is a known issue when attempting to uninstall using the
    current MSI version 9.0.124.0. It will not completely remove all
    entries in the system registry. This will be addressed for a future
    release of Flash Player.
    You can include the Adobe Flash Player uninstaller in your
    deployment process. The uninstaller can be downloaded from here:
    http://www.adobe.com/go/tn_14157
    In addition, the MSI is only available for deployment via the
    Adobe Licensing Center:
    http://www.adobe.com/licensing/
    Please let me know if you have any further questions.

  • There seems to be serious flash memory leak in ie7

    Hi.. I have run into a serious memory leak issue with flash on
    internet explorer 7.0.5730.13 (everything works with firefox). It can be
    seen clearly browsing open flash charts site. Here are steps to
    reproduce:
    1) go to
    http://www.websector.de/blog/2007/10/01 ... wsmonitor/
    2) click start on WSMonitor
    3) File->New Window paste following address in address bar and click
    enter: http://teethgrinder.co.uk/open-flash-ch ... hollow.php
    4) click from chart to chart and see each time how memory increases...
    This does not happen with firefox.
    Independently to trouble shoot it wasn't any code I confirmed by making an swf file with actionscript with simply following:
    package  {
    import flash.display.Sprite;
         public class main extends Sprite {
              public function main() {
                   trace("starting3");

    hello, can you try to replicate this behaviour when you launch firefox in safe mode once? if not, maybe an addon is interfering here...
    [[Troubleshoot extensions, themes and hardware acceleration issues to solve common Firefox problems]]

  • What does actionlist not found mean when downloading flash player??

    My computer tells me i need to add a plugin. I attempt to download flash player but during installation i get the message " actionlist not found" and flash player does not load. now what??

    Download the full installer from http://forums.adobe.com/thread/909550
    If you need more help, please specify your operating system and web browser.
    [moving topic to Flash Player forum]

Maybe you are looking for

  • I want to sync my wifes IPhone and my IPhone thru one MAC Computer.  How do I do that?

    I have and Itune account and my wife has an Itune account.  We both have IPhones, her's a 3 and mine is a 4. I want to be able to sync both IPhones with our one MAC computer. How do we do that?

  • Link to css error

    <link href="rescueRegister.css" rel="stylesheet" type="text/css" /> Check browser compatibility in DW CS4 on mac returned the following but did not suggest solution. Anyone have a suggestion? Found 4 errors in rescueRegister.css Affects: Internet Exp

  • Sleep/Standby makes resolution changes to lowest setting

    Recently almost every time I turn my computer on after it going into sleep it ends up switching to the lowest resolution available (800x600). I can't figure out why exactly it's doing this. It's very annoying because when it resizes, it will move my

  • Limited or no connectivity BS

    I have looked at all the different posts regarding this problem, and I fail to find ANYONE who can actually solve this problem. I do not have 2.4Ghz phones that could interfere with the router I have (model BEFW11S4). My closest neighbor is about 150

  • How to Remove Shutdown Prompt

    Is there any way to either 1) completely remove/disable the prompt that appears when selecting Shutdown from the Apple Menu or 2) reduce the time before it automatically shuts down? It's not a big deal, but when I hit shutdown, I mean shutdown, not "