Runtime Uno.Exception: Attempted to allocate 11772x452 framebuffer, max is 8192x8192

[ This is the translated & modified version from http://cafe.naver.com/fusefactory/377 ]

The following error message is shown when executing an app developed with Fuse on Android phones.

Not all smartphones he tested generated the following run time error message, so he thinks that it is not the problem for low-spec smartphones (he said that there were the following error on Galaxy S8).

Would you suggest how to deal with the following run time bug?

Note: He additionally said that he uses a chart drawing on the app.
Note2: I have found https://github.com/fusetools/fuselibs-public/blob/master/Source/Fuse.Common/FramebufferPool.uno#L108 so I think there might be some issues on Framebuffer, but I could not go further to find the root cause of this error.

04-16 16:32:37.715 30823  7018 I qtaguid : Tagging socket 129 with tag 3000110100000000{805310721,0} uid -1, pid: 30823, getuid(): 10207

04-16 16:32:37.755 30823 30823 E WeatherPlace: Uno.Exception: Attempted to allocate 11772x452 framebuffer, max is 8192x8192
04-16 16:32:37.755 30823 30823 D WeatherPlace: Uno.Exception: Attempted to allocate 11772x452 framebuffer, max is 8192x8192
04-16 16:32:37.755 30823 30823 W System.err: java.lang.RuntimeException: Uno.Exception: Attempted to allocate 11772x452 framebuffer, max is 8192x8192
04-16 16:32:37.755 30823 30823 W System.err:  at com.Bindings.ExternedBlockHost.callUno_Uno_Platform_AndroidDisplay_OnFrameCallback55(Native Method)
04-16 16:32:37.755 30823 30823 W System.err:  at com.foreign.Uno.Platform.AndroidDisplay$1.doFrame(AndroidDisplay.java:55)
04-16 16:32:37.760 30823 30823 W System.err:  at android.view.Choreographer$CallbackRecord.run(Choreographer.java:918)
04-16 16:32:37.760 30823 30823 W System.err:  at android.view.Choreographer.doCallbacks(Choreographer.java:695)
04-16 16:32:37.760 30823 30823 W System.err:  at android.view.Choreographer.doFrame(Choreographer.java:628)
04-16 16:32:37.760 30823 30823 W System.err:  at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:906)
04-16 16:32:37.760 30823 30823 W System.err:  at android.os.Handler.handleCallback(Handler.java:739)
04-16 16:32:37.760 30823 30823 W System.err:  at android.os.Handler.dispatchMessage(Handler.java:95)
04-16 16:32:37.760 30823 30823 W System.err:  at android.os.Looper.loop(Looper.java:158)
04-16 16:32:37.760 30823 30823 W System.err:  at android.app.ActivityThread.main(ActivityThread.java:7225)
04-16 16:32:37.760 30823 30823 W System.err:  at java.lang.reflect.Method.invoke(Native Method)
04-16 16:32:37.760 30823 30823 W System.err:  at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1230)
04-16 16:32:37.760 30823 30823 W System.err:  at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1120)
04-16 16:32:37.760 30823 30823 F libc    : Fatal signal 6 (SIGABRT), code -6 in tid 30823 (eatherplace.app)
04-16 16:32:37.770 30823  7016 I qtaguid : Untagging socket 81

04-16 16:32:37.815  2952  2952 F DEBUG   : pid: 30823, tid: 30823, name: eatherplace.app  >>> kr.co.weatherplace.app <<<

04-16 16:32:38.955  5765  5765 E audit   : type=1701 msg=audit(1523863958.950:605): auid=4294967295 uid=10207 gid=10207 ses=4294967295 subj=u:r:untrusted_app:s0:c512,c768 pid=30823 comm="eatherplace.app" reason="memory violation" sig=6

04-16 16:32:38.995  3932  7088 D InputDispatcher: Focus left window: 30823

04-16 16:32:39.095  2924  2924 E lowmemorykiller: Error writing /proc/30823/oom_score_adj; errno=22

Process kr.co.weatherplace.app terminated.

Unknown Logcat Error: raised from 'adb -s 41006ff2dc7a12cf logcat '

Hey.

We need to see the code so we can reproduce the issue.

I have shared the code using this link: https://www.dropbox.com/request/ZgndLtJQm5eGzG9cicGK .

The user says the error occurs on /Pages/WeatherPage.ux page.

Hey.

This error occurs because the app is trying to draw a too big grid with data plot. The Android device can’t handle it and runs out of memory.
In file WeatherPage.ux there is several lines with GridLayout:
<GridLayout Rows="1*,20" Columns="1600,1*" />
<GridLayout Rows="1*,20" Columns="1000,1*" />
If I comment these lines, error disapiers.

Columns size should be smaller, so the device can load layout.

Hope this helps.