Android SDK: Errors_Memory_Error. Any workarounds?

Description

I’m using the Android SDK (latest as of 2022.07.13) within my application and when calling

        int ret = ZoomVideoSDK.getInstance().getShareHelper().startShareScreen(data);

I get the error code: Errors_Memory_Error: (4)

My system memory is around 800-820MB when I start the application out of 1.9GB and I’ve noticed that:

  1. I sometimes get the ret val 0 and screensharing working
  2. I sometimes get the ret val 4

Questions

  1. What is the recommended starting memory amount of the system in order not to get this error?
  2. Are there any workarounds for setting certain parameters on the sdk to potentially not hit this limit (more memory friendly options?)
  3. Any debugging tips?

Thanks.

Screenshots

Smartphone (please complete the following information):
Android 9

Additional context
Add any other context about the problem here.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.