Hello,
I've done the following using AS2:
1) in the first frame of the application declare/create and load a large XML file
2) move to another label frame
3) reload the same xml file again
I've noticed on the Device Central that the available memory starts to decrease everytime I reload the very same xml file. Apparently there is no garbage collection when XML Object reloads.
Occording to S60 documentation, S60 will do garbage collection once every 60 seconds. So I set a timer creating and event every 90 seconds to create an XML object and load the large XML file. After having loaded the data file, delete the Object instance. This still generates memory leak and application soon fails due to insuffient memory. S60 for some reason does not clean up the heap.
Does anyone know about this behaviour?
Thanks for any help.
Regards
Can



