The classic app for restaurants, on Samsung Tab2 tablet, which communicates with the central system via mqtt
After some modifications, now after a few minutes of operation, apparently casually, reports the error indicated below
What can it depend on?
After some modifications, now after a few minutes of operation, apparently casually, reports the error indicated below
What can it depend on?
B4X:
2023-05-30 16:53:31 912 Mqtt.Timer1sec_tick mqtt_connected=true Mqtt_client.Connected=true
java.lang.OutOfMemoryError: Failed to allocate a 73884 byte allocation with 44588 free bytes and 43KB until OOM
at android.view.ViewGroup.addInArray(ViewGroup.java:4288)
at android.view.ViewGroup.addViewInner(ViewGroup.java:4239)
at android.view.ViewGroup.addView(ViewGroup.java:4070)
at android.view.ViewGroup.addView(ViewGroup.java:4046)
at anywheresoftware.b4a.objects.PanelWrapper.AddView(PanelWrapper.java:65)
at b4a.example.flexgrid._addview(flexgrid.java:340)
at b4a.example.flexgrid._createrow(flexgrid.java:1194)
at b4a.example.flexgrid$ResumableSub_CreateGrid.resume(flexgrid.java:995)
at anywheresoftware.b4a.keywords.Common$13.run(Common.java:1717)
at android.os.Handler.handleCallback(Handler.java:739)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:145)
at android.app.ActivityThread.main(ActivityThread.java:6134)
at java.lang.reflect.Method.invoke(Native Method)
at java.lang.reflect.Method.invoke(Method.java:372)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1399)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1194)