Memory Leak using Flash....
-
I have a program that is running on a kiosk. I'm using the Shockwave dll to play flash files. It appears as if the more complex the flash file is (more action script) there's a memory leak until eventually the program crashes. This program has the flash player on the screen and loads file after file without closing down. So if it's not really releasing all of the memory, which is what it appears to be doing, how can I clear out the memory? If need be what I would do is after playing a file, I would destroy the object, cleanup the memory and then create a new one. In looking around the web, I have not yet been able to find how to destroy the object, clean up the memory and then recreate the object. Can somebody please help? Thanks. Jeff.
-
I have a program that is running on a kiosk. I'm using the Shockwave dll to play flash files. It appears as if the more complex the flash file is (more action script) there's a memory leak until eventually the program crashes. This program has the flash player on the screen and loads file after file without closing down. So if it's not really releasing all of the memory, which is what it appears to be doing, how can I clear out the memory? If need be what I would do is after playing a file, I would destroy the object, cleanup the memory and then create a new one. In looking around the web, I have not yet been able to find how to destroy the object, clean up the memory and then recreate the object. Can somebody please help? Thanks. Jeff.
Effectively, have 2 instances running - when one is finished with unload it and load a new instance in a new app domain and show the background instance in place.
I have CDO, it's OCD with the letters in the right order; just as they ruddy well should be
Forgive your enemies - it messes with their heads
-
Effectively, have 2 instances running - when one is finished with unload it and load a new instance in a new app domain and show the background instance in place.
I have CDO, it's OCD with the letters in the right order; just as they ruddy well should be
Forgive your enemies - it messes with their heads
-
I don't understand what you mean by unload it and load a new instance. Do you mean unload the whole program? There is other stuff going on on the screen. The flash player is only part of what is visible on the screen. Jeff.
No - I was thinking you'd have the Flash part in a separate AppDomain - you could overlay this over the top by controlling the Z Order. Release the App Domain, and reclaim the memory.
I have CDO, it's OCD with the letters in the right order; just as they ruddy well should be
Forgive your enemies - it messes with their heads
-
No - I was thinking you'd have the Flash part in a separate AppDomain - you could overlay this over the top by controlling the Z Order. Release the App Domain, and reclaim the memory.
I have CDO, it's OCD with the letters in the right order; just as they ruddy well should be
Forgive your enemies - it messes with their heads
-
Are you using .NET (you should be if you are posting in the C# forum)? Look up Application Domains.
I have CDO, it's OCD with the letters in the right order; just as they ruddy well should be
Forgive your enemies - it messes with their heads
-
Are you using .NET (you should be if you are posting in the C# forum)? Look up Application Domains.
I have CDO, it's OCD with the letters in the right order; just as they ruddy well should be
Forgive your enemies - it messes with their heads