-
Type: Bug
-
Status: Resolved
-
Priority: Minor
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: Android 1.13
-
Component/s: Android
-
Epic Link:
-
Tags:
-
Sprint:nxfit 10.2.5
-
Story Points:5
Go to Photos, choose a video > 100 MB, share it with Nuxeo. The share extension crashes with
05-09 17:00:05.846 14897 14947 E AndroidRuntime: FATAL EXCEPTION: mqt_native_modules 05-09 17:00:05.846 14897 14947 E AndroidRuntime: Process: com.nuxeomobile, PID: 14897 05-09 17:00:05.846 14897 14947 E AndroidRuntime: java.lang.RuntimeException: Could not invoke Networking.sendRequest 05-09 17:00:05.846 14897 14947 E AndroidRuntime: at com.facebook.react.bridge.JavaMethodWrapper.invoke(JavaMethodWrapper.java:383) 05-09 17:00:05.846 14897 14947 E AndroidRuntime: at com.facebook.react.bridge.JavaModuleWrapper.invoke(JavaModuleWrapper.java:160) 05-09 17:00:05.846 14897 14947 E AndroidRuntime: at com.facebook.react.bridge.queue.NativeRunnable.run(Native Method) 05-09 17:00:05.846 14897 14947 E AndroidRuntime: at android.os.Handler.handleCallback(Handler.java:739) 05-09 17:00:05.846 14897 14947 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:95) 05-09 17:00:05.846 14897 14947 E AndroidRuntime: at com.facebook.react.bridge.queue.MessageQueueThreadHandler.dispatchMessage(MessageQueueThreadHandler.java:29) 05-09 17:00:05.846 14897 14947 E AndroidRuntime: at android.os.Looper.loop(Looper.java:148) 05-09 17:00:05.846 14897 14947 E AndroidRuntime: at com.facebook.react.bridge.queue.MessageQueueThreadImpl$3.run(MessageQueueThreadImpl.java:192) 05-09 17:00:05.846 14897 14947 E AndroidRuntime: at java.lang.Thread.run(Thread.java:818) 05-09 17:00:05.846 14897 14947 E AndroidRuntime: Caused by: java.lang.reflect.InvocationTargetException 05-09 17:00:05.846 14897 14947 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method) 05-09 17:00:05.846 14897 14947 E AndroidRuntime: at com.facebook.react.bridge.JavaMethodWrapper.invoke(JavaMethodWrapper.java:372) 05-09 17:00:05.846 14897 14947 E AndroidRuntime: ... 8 more 05-09 17:00:05.846 14897 14947 E AndroidRuntime: Caused by: java.lang.OutOfMemoryError: Failed to allocate a 134215692 byte allocation with 16777216 free bytes and 111MB until OOM 05-09 17:00:05.846 14897 14947 E AndroidRuntime: at java.io.ByteArrayOutputStream.expand(ByteArrayOutputStream.java:91) 05-09 17:00:05.846 14897 14947 E AndroidRuntime: at java.io.ByteArrayOutputStream.write(ByteArrayOutputStream.java:201) 05-09 17:00:05.846 14897 14947 E AndroidRuntime: at com.facebook.react.modules.blob.BlobModule.getBytesFromUri(BlobModule.java:233) 05-09 17:00:05.846 14897 14947 E AndroidRuntime: at com.facebook.react.modules.blob.BlobModule.access$000(BlobModule.java:49) 05-09 17:00:05.846 14897 14947 E AndroidRuntime: at com.facebook.react.modules.blob.BlobModule$2.fetch(BlobModule.java:89) 05-09 17:00:05.846 14897 14947 E AndroidRuntime: at com.facebook.react.modules.network.NetworkingModule.sendRequest(NetworkingModule.java:256) 05-09 17:00:05.846 14897 14947 E AndroidRuntime: ... 10 more 05-09 17:00:05.850 778 966 W ActivityManager: Force finishing activity com.nuxeomobile/.share.ShareExtensionActivity
It seems that the complete blob bytes are stored in memory by RN's BlobModule when fetching the blob.
- is related to
-
NXMOB-518 Enable video upload on simple capture (on iOS)
- Resolved