Hello Udo, Wednesday, May 9, 2007, 3:29:54 PM, I wrote: UG> I attached a simple testcase that shows the problem.
Here's a new one showing the memory raising:
-----------------8<--------------------------------
function loadfile(fname) {
var file = new FileIO();
if (!file.fopen(fname, "r"))
return null;
var txt = file.fread();
file.fclose();
return txt;
}
mem = loadfile("/proc/self/statm");
if (!cycles) cycles=0;
cycles++;
gotoAndPlay(2);
-----------------8<--------------------------------
NOTE: Creating the instance (new FileIO) only once and reusing it is
better, but still eats up memory somewhere...
Udo
fread_test.swf
Description: application/shockwave-flash
_______________________________________________ Gnash-dev mailing list [email protected] http://lists.gnu.org/mailman/listinfo/gnash-dev

