We are experiencing an OutOfMemoryError in the SugarCRM mobile application, which appears to be related to the heap size allocation on certain devices. It is happening on certain events like page refresh, Menu item click after login etc.
Following SDK version we used for customizations
45.0.657-1.4.2
Quick Fix
Configuration added to AndroidManifest.xml
: <application android:largeHeap="true" ... />
Impact:
Causes app crash, interrupting user workflows.
Affects specific devices more frequently, likely due to OS and hardware configuration.
Request:
Please advise on:
Any way to reduce heap size
Recommended heap size settings for SugarCRM mobile builds.
Any known SDK or configuration changes required to handle high-memory operations.
Possible workarounds to avoid crashes until a permanent fix is implemented.