Change theme
Help
Press space for more information.
Show links for this issue (Shortcut: i, l)
Copy issue ID
Previous Issue (Shortcut: k)
Next Issue (Shortcut: j)
Sign in to use full features.
Vote: I am impacted
Notification menu
Refresh (Shortcut: Shift+r)
Go home (Shortcut: u)
Pending code changes (auto-populated)
View issue level access limits(Press Alt + Right arrow for more information)
Attachment actions
Unintended behavior
View staffing
Description
Version used: 1.3.6
Devices/Android versions reproduced on: Android emulator Pixel 5 API 30
When trying to create an ExifInterface instance of the following file, I got this error:
java.lang.OutOfMemoryError: Failed to allocate a 163840016 byte allocation with 25165824 free bytes and 107MB until OOM, target footprint 113264584, growth limit 201326592
at java.io.BufferedInputStream.fill(BufferedInputStream.java:235)
at java.io.BufferedInputStream.skip(BufferedInputStream.java:382)
at java.io.FilterInputStream.skip(FilterInputStream.java:151)
at androidx.exifinterface.media.ExifInterface$ByteOrderedDataInputStream.skipFully(ExifInterface.java:7874)
at androidx.exifinterface.media.ExifInterface$SeekableByteOrderedDataInputStream.seek(ExifInterface.java:7719)
at androidx.exifinterface.media.ExifInterface.readImageFileDirectory(ExifInterface.java:6899)
at androidx.exifinterface.media.ExifInterface.getRawAttributes(ExifInterface.java:5714)
at androidx.exifinterface.media.ExifInterface.loadAttributes(ExifInterface.java:4601)
at androidx.exifinterface.media.ExifInterface.<init>(ExifInterface.java:4056)
at androidx.exifinterface.media.ExifInterface.<init>(ExifInterface.java:4011)
This image is of 8368w x 5584h, not sure whether it's related to the extreme resolution