Android Question Restart or refresh possible ?

uhzeg

Member
Licensed User
Longtime User
Hi all

In one of my apps I face the problem that after having used it for few minutes, it becomes slower and slower. I assume it is a memory leakage or un-successful garbage collaction. However, unfortunately, I was not able to find the reason.

Is there a way to restart the app from within the app ?
Or maybe there is a way to re-set all variables, canvas, etc ?

Many thanks for your help
 

DonManfred

Expert
Licensed User
Longtime User
Upvote 0

uhzeg

Member
Licensed User
Longtime User
Thanks DonManfred

Is there no way to free all occupied objects that uses memory, at once?
Activity.Invalidate or similar?
I know, I can re-dim all variables, but this seems not to free the memory the same way as if I stop the app and restart it again.

many thanks to those of you who have a good idea...
 
Upvote 0
Top