The idea: have some variable to indicate the memory required by your app, both in terms of conventional and gpu memory (for GLSL).
The reason: it’s not the first time that I package an app on Android and it crashes (the infamous black screen @ startup) while showing no error in the log. Your only solution is then to explore interactively the logs with adb logcat, to look for instance for a ‘GSL MEM ERROR: kgsl_sharedmem_alloc ioctl failed’.
The benefits: instead of losing the time to package, run and explore the log during crash… we look at this estimation of memory consumption as a go/no go to package our app.
Best,