Camera images in chat is Failed to allocate and crash

[Problem/Question]
crash is happen when user send image from camera in channel with high quality the image is send success but when ever you try to open this image keep loads and then app crash with this error

java.lang.OutOfMemoryError: Failed to allocate a 514380552 byte allocation with 25165824 free bytes and 226MB until OOM, target footprint 324188352, growth limit 536870912
                 	at java.util.Arrays.copyOf(Arrays.java:3766)
                 	at java.lang.AbstractStringBuilder.ensureCapacityInternal(AbstractStringBuilder.java:125)
                 	at java.lang.AbstractStringBuilder.append(AbstractStringBuilder.java:449)
                 	at java.lang.StringBuffer.append(StringBuffer.java:270)
                 	at com.instabug.apm.networkinterception.utils.b.a(Unknown Source:29)
                 	at com.instabug.apm.networkinterception.utils.b.read(Unknown Source:30)
                 	at java.io.FilterInputStream.read(FilterInputStream.java:133)
                 	at com.bumptech.glide.util.ContentLengthInputStream.read(ContentLengthInputStream.java:71)
                 	at com.bumptech.glide.load.resource.bitmap.RecyclableBufferedInputStream.fillbuf(RecyclableBufferedInputStream.java:173)
                 	at com.bumptech.glide.load.resource.bitmap.RecyclableBufferedInputStream.read(RecyclableBufferedInputStream.java:305)
                 	at java.io.FilterInputStream.read(FilterInputStream.java:107)
                 	at com.bumptech.glide.load.model.StreamEncoder.encode(StreamEncoder.java:33)
                 	at com.bumptech.glide.load.model.StreamEncoder.encode(StreamEncoder.java:17)
                 	at com.bumptech.glide.load.engine.DataCacheWriter.write(DataCacheWriter.java:30)
                 	at com.bumptech.glide.load.engine.cache.DiskLruCacheWrapper.put(DiskLruCacheWrapper.java:131)
                 	at com.bumptech.glide.load.engine.SourceGenerator.cacheData(SourceGenerator.java:141)
                 	at com.bumptech.glide.load.engine.SourceGenerator.startNext(SourceGenerator.java:56)
                 	at com.bumptech.glide.load.engine.DecodeJob.runGenerators(DecodeJob.java:311)
                 	at com.bumptech.glide.load.engine.DecodeJob.runWrapped(DecodeJob.java:280)
                 	at com.bumptech.glide.load.engine.DecodeJob.run(DecodeJob.java:235)
                 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1137)
                 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:637)
                 	at com.bumptech.glide.load.engine.executor.GlideExecutor$DefaultThreadFactory$1.run(GlideExecutor.java:413)
                 	at java.lang.Thread.run(Thread.java:1012)
                 	at com.bumptech.glide.load.engine.executor.GlideExecutor$DefaultPriorityThreadFactory$1.run(GlideExecutor.java:372)

[UIKit Version]
3.2.1

[Reproduction Steps]
open channel then try to send image using camera after image uploaded try to open it

[Frequency]
All time try to open this image

[Current impact]
critical crash issue

@janna-sendbird @chris-sendbird

@jason-sendbird @Sendbird-Product

Hello responding to your tag. I am in sales in Singapore and not equipped to address support issues. I believe that Janna Is no longer with Sendbird. If you have subscribed to Support or have an assigned CSM might recommend you reach out directly via email or your dashboard to file a ticket.