inaturalist/react-native-inat-camera

OutOfMemoryError: Camera2.collectCameraInfo

albullington opened this issue · 0 comments

Here's the stack trace from Google Play. Happening on Samsung Galaxy Note10+ 5G.

java.lang.OutOfMemoryError: 
  at java.lang.AbstractStringBuilder.<init> (AbstractStringBuilder.java:68)
  at java.lang.StringBuilder.<init> (StringBuilder.java:90)
  at java.util.Formatter$FormatSpecifier.print (Formatter.java:3183)
  at java.util.Formatter$FormatSpecifier.printInteger (Formatter.java:2881)
  at java.util.Formatter$FormatSpecifier.print (Formatter.java:2839)
  at java.util.Formatter.format (Formatter.java:2524)
  at java.util.Formatter.format (Formatter.java:2459)
  at java.lang.String.format (String.java:2870)
  at android.hardware.camera2.params.StreamConfigurationMap.appendOutputsString (StreamConfigurationMap.java:1751)
  at android.hardware.camera2.params.StreamConfigurationMap.toString (StreamConfigurationMap.java:1729)
  at java.lang.String.valueOf (String.java:2924)
  at java.lang.StringBuilder.append (StringBuilder.java:132)
  at org.inaturalist.inatcamera.ui.Camera2.collectCameraInfo (Camera2.java:909)
  at org.inaturalist.inatcamera.ui.Camera2.start (Camera2.java:345)
  at org.inaturalist.inatcamera.ui.CameraView.start (CameraView.java:305)
  at org.inaturalist.inatcamera.nativecamera.RNCameraView$3.run (RNCameraView.java:315)
  at android.os.Handler.handleCallback (Handler.java:938)
  at android.os.Handler.dispatchMessage (Handler.java:99)
  at android.os.Looper.loop (Looper.java:246)
  at android.os.HandlerThread.run (HandlerThread.java:67)