-
Notifications
You must be signed in to change notification settings - Fork 384
Closed
Labels
package:cronet_httptype-bugIncorrect behavior (everything from a crash to more subtle misbehavior)Incorrect behavior (everything from a crash to more subtle misbehavior)
Description
Found this today in Sentry. This should produce a meaningful Client exception and not an JNI Exception-
java.lang.OutOfMemoryError: Failed to allocate a 92862520 byte allocation with 25165824 free bytes and 73MB until OOM, target footprint 216650232, growth limit 268435456
at dalvik.system.VMRuntime.newNonMovableArray(Native Method)
at java.nio.DirectByteBuffer$MemoryRef.<init>(DirectByteBuffer.java:71)
at java.nio.ByteBuffer.allocateDirect(ByteBuffer.java:265)
File "accessors.dart", line 119, in JniAccessorWrappers.throwException
File "accessors.dart", line 11, in _check
File "accessors.dart", line 16, in JniResultMethods.check
File "accessors.dart", line 54, in JniResultMethods.objectPointer
File "global_env_extensions.dart", line 674, in GlobalJniEnv.CallStaticObjectMethodA
File "types.dart", line 89, in JObjType._staticCall
File "jclass.dart", line 130, in JStaticMethodId.call.<fn>
File "arena.dart", line 124, in using
File "jclass.dart", line 130, in JStaticMethodId.call
File "jbyte_buffer.dart", line 112, in new JByteBuffer.allocateDirect
File "jbyte_buffer.dart", line 162, in new JByteBuffer.fromList
File "jbyte_buffer.dart", line 293, in Uint8ListToJava.toJByteBuffer
File "cronet_client.dart", line 429, in CronetClient.send
File "<asynchronous suspension>"
File "storage_service_impl.dart", line 199, in StorageServiceImplementation._uploadToS3
File "<asynchronous suspension>"
File "storage_service_impl.dart", line 155, in StorageServiceImplementation.uploadImage
File "<asynchronous suspension>"
File "upload_image.dart", line 30, in uploadImage
File "<asynchronous suspension>"
File "html_serializer.dart", line 194, in _Deserializer._createDocument
File "<asynchronous suspension>"
File "comment_draft_manager.dart", line 66, in CommentDraftManager.saveCommentDraft
Metadata
Metadata
Assignees
Labels
package:cronet_httptype-bugIncorrect behavior (everything from a crash to more subtle misbehavior)Incorrect behavior (everything from a crash to more subtle misbehavior)