We are working on a project where Flash application should read in a constant loop variables from php script and then properly react.
Everything works fine execpt after a memory usage start to grow at 1Mb/min, more or less… it varies from time to time. Our browser works then very slow (Mozilla Firefox, Opera, Mozilla Firefox and Mozilla for Linux)
Our code:
_root.onEnterFrame = function()
{
load_lv = new LoadVars();
load_lv.load("http://robin56.uni-mb.si/tekma/timer.php");
}
We also tried with function LoadVariables but we got the same results (MEMORY LEAK).
Is this a bug in a Flash or we are missing something?
Please give us some advise what to do. Is there any other possible way to read variables from php script. (10 times/sec)
We have also tested an AMFPHP example found on the www.amfphp.org/?g=examplegoogle and if you click on search button very often and fast for a while you also get memory leak.
PLEASE HELP!!!
You can test my leaking FLASH aplication here:
http://robin56.uni-mb.si/tekma/memory_leak.html
Here is source code:
http://robin56.uni-mb.si/tekma/memory_leak.fla
Thank you for your answer.
This example reads variables from php script only in Mozilla. It’s a bit strange to me but ok.
So in explorer you won’t get memory leak of course.
Try with firefox, opera or anything like it.