Topic: Memory problems when launching my application
Hi,
I'm not entirely sure this is a SWF2Go problem or some strangeness of Symbian Series 60, but it's causing my Flash Lite 3 application to run out of memory on all Series 60 devices.
Basically I have a Flash Lite 3 application that plays FLV video. This naturally consumes a fair amount of memory. I am however careful to ensure that I don't consume anymore than around 75% of the ~4 Mbytes dynamic heap that is available to my application on the Nokia N95 8GB.
Now when I test my SWF in Device Central or run it from my phone's Flash Player (the one that can usually be found within the phone's Tools or Applications folder depending on your device) on my Nokia N95 8GB, it runs fine, and outputting the available memory to a text field in my SWF shows that I have approximately 4 Mbytes of RAM available to begin with.
However when I use SWF2Go Professional to create a .sis file and then install the application, I suddenly only have 2 Mbytes of RAM when the application is launched, compared to the 4 Mbytes that is available when run directly from the phone's Flash Player!!!
I've repeated the test with a simple SWF file that contains only a text field which I am using to continually re-display the available RAM. Again it seems that when I run the SWF directly from the phone's Flash Player I have 4 Mbytes available, whereas only 2 Mbytes is available when installed via the .sis file and launched.
I've also tested the .sis file on various Nokia devices on Nokia's RDA site and again I run into the same problem.
Is this an issue with SWF2Go and is there a work around? My application really needs that additional 2 Mbytes to run - there's simply no way to optimise my application further and I have spent considerable time developing this application.
Thanks,
Christopher