{"action":"created","issue":{"url":"https://api.github.com/repos/react-native-community/react-native-camera/issues/884","repository_url":"https://api.github.com/repos/react-native-community/react-native-camera","labels_url":"https://api.github.com/repos/react-native-community/react-native-camera/issues/884/labels{/name}","comments_url":"https://api.github.com/repos/react-native-community/react-native-camera/issues/884/comments","events_url":"https://api.github.com/repos/react-native-community/react-native-camera/issues/884/events","html_url":"https://github.com/react-native-community/react-native-camera/issues/884","id":256604606,"node_id":"MDU6SXNzdWUyNTY2MDQ2MDY=","number":884,"title":"java.lang.OutOfMemoryError","user":{"login":"aurelienmrt","id":31842286,"node_id":"MDQ6VXNlcjMxODQyMjg2","avatar_url":"https://avatars1.githubusercontent.com/u/31842286?v=4","gravatar_id":"","url":"https://api.github.com/users/aurelienmrt","html_url":"https://github.com/aurelienmrt","followers_url":"https://api.github.com/users/aurelienmrt/followers","following_url":"https://api.github.com/users/aurelienmrt/following{/other_user}","gists_url":"https://api.github.com/users/aurelienmrt/gists{/gist_id}","starred_url":"https://api.github.com/users/aurelienmrt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aurelienmrt/subscriptions","organizations_url":"https://api.github.com/users/aurelienmrt/orgs","repos_url":"https://api.github.com/users/aurelienmrt/repos","events_url":"https://api.github.com/users/aurelienmrt/events{/privacy}","received_events_url":"https://api.github.com/users/aurelienmrt/received_events","type":"User","site_admin":false},"labels":[{"id":418407111,"node_id":"MDU6TGFiZWw0MTg0MDcxMTE=","url":"https://api.github.com/repos/react-native-community/react-native-camera/labels/Android","name":"Android","color":"bfe5bf","default":false},{"id":194397263,"node_id":"MDU6TGFiZWwxOTQzOTcyNjM=","url":"https://api.github.com/repos/react-native-community/react-native-camera/labels/Bug","name":"Bug","color":"fc2929","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2017-09-11T07:20:58Z","updated_at":"2018-12-19T14:24:05Z","closed_at":"2018-12-19T14:24:05Z","author_association":"NONE","body":"Hello, I get this error using your photo module in my Android app with a Samsung Galaxy J5 (2016) on Android 6.0.\r\nI use Camera.constants.CaptureTarget.cameraRoll\r\nI have not used fixOrientation\r\nCan you give me some ideas to solve this error?\r\n\r\nThank you for your help.\r\n\r\n```\r\njava.lang.OutOfMemoryError: \r\n  at dalvik.system.VMRuntime.newNonMovableArray (Native Method)\r\n  at android.graphics.BitmapFactory.nativeDecodeStream (Native Method)\r\n  at android.graphics.BitmapFactory.decodeStreamInternal (BitmapFactory.java:882)\r\n  at android.graphics.BitmapFactory.decodeStream (BitmapFactory.java:858)\r\n  at android.graphics.BitmapFactory.decodeStream (BitmapFactory.java:896)\r\n  at com.lwansbrough.RCTCamera.MutableImage.toBitmap (MutableImage.java:133)\r\n  at com.lwansbrough.RCTCamera.MutableImage.<init> (MutableImage.java:36)\r\n  at com.lwansbrough.RCTCamera.RCTCameraModule$3$1.run (RCTCameraModule.java:539)\r\n  at android.os.AsyncTask$SerialExecutor$1.run (AsyncTask.java:234)\r\n  at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1113)\r\n  at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:588)\r\n  at java.lang.Thread.run (Thread.java:818)\r\n```\r\n![error](https://user-images.githubusercontent.com/31842286/30262839-d24d6dca-96d2-11e7-8a71-c3d9d5f8ec6e.jpg)\r\n"},"comment":{"url":"https://api.github.com/repos/react-native-community/react-native-camera/issues/comments/448613198","html_url":"https://github.com/react-native-community/react-native-camera/issues/884#issuecomment-448613198","issue_url":"https://api.github.com/repos/react-native-community/react-native-camera/issues/884","id":448613198,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0ODYxMzE5OA==","user":{"login":"n1ru4l","id":14338007,"node_id":"MDQ6VXNlcjE0MzM4MDA3","avatar_url":"https://avatars2.githubusercontent.com/u/14338007?v=4","gravatar_id":"","url":"https://api.github.com/users/n1ru4l","html_url":"https://github.com/n1ru4l","followers_url":"https://api.github.com/users/n1ru4l/followers","following_url":"https://api.github.com/users/n1ru4l/following{/other_user}","gists_url":"https://api.github.com/users/n1ru4l/gists{/gist_id}","starred_url":"https://api.github.com/users/n1ru4l/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/n1ru4l/subscriptions","organizations_url":"https://api.github.com/users/n1ru4l/orgs","repos_url":"https://api.github.com/users/n1ru4l/repos","events_url":"https://api.github.com/users/n1ru4l/events{/privacy}","received_events_url":"https://api.github.com/users/n1ru4l/received_events","type":"User","site_admin":false},"created_at":"2018-12-19T14:24:05Z","updated_at":"2018-12-19T14:24:05Z","author_association":"MEMBER","body":"Please open a new issue if you are still experiencing this problem with the newest version of `RNCamera`."}}
{"actor":{"display_login":"n1ru4l"}}