Licht2002 Member Licensed User Longtime User Mar 24, 2017 #1 Hello from Germany, i use this code to restart my App - before run out of mem Code in a Service: B4X: If GetFreeMem < 85 Then ExitApplication End If Is this the right way - or what else should i use.... Thx Tom
Hello from Germany, i use this code to restart my App - before run out of mem Code in a Service: B4X: If GetFreeMem < 85 Then ExitApplication End If Is this the right way - or what else should i use.... Thx Tom
B b4auser1 Well-Known Member Licensed User Longtime User Mar 25, 2017 #2 https://www.b4x.com/android/forum/threads/programmatically-restarting-an-app.27544/ Upvote 0
Erel B4X founder Staff member Licensed User Longtime User Mar 26, 2017 #3 Licht2002 said: Is this the right way Click to expand... No. Why is it running out of available memory? Upvote 0
Licht2002 said: Is this the right way Click to expand... No. Why is it running out of available memory?
Licht2002 Member Licensed User Longtime User Mar 26, 2017 #4 Erel said: No. Why is it running out of available memory? Click to expand... Hi, my "Out of Memory" Problem ist old https://www.b4x.com/android/forum/t...do-i-have-a-memory-problem.50573/#post-316571 and it ist still a problem. I thing it depends of using Webview to capure Websites... So i restart the App before the app crash mostly in Sleep-Modus from a Service-Modul. Thx Tom Upvote 0
Erel said: No. Why is it running out of available memory? Click to expand... Hi, my "Out of Memory" Problem ist old https://www.b4x.com/android/forum/t...do-i-have-a-memory-problem.50573/#post-316571 and it ist still a problem. I thing it depends of using Webview to capure Websites... So i restart the App before the app crash mostly in Sleep-Modus from a Service-Modul. Thx Tom