{"action":"created","issue":{"url":"https://api.github.com/repos/flavioarfaria/KenBurnsView/issues/27","labels_url":"https://api.github.com/repos/flavioarfaria/KenBurnsView/issues/27/labels{/name}","comments_url":"https://api.github.com/repos/flavioarfaria/KenBurnsView/issues/27/comments","events_url":"https://api.github.com/repos/flavioarfaria/KenBurnsView/issues/27/events","html_url":"https://github.com/flavioarfaria/KenBurnsView/issues/27","id":84499261,"number":27,"title":"OutOfMemoryError","user":{"login":"sanjay-tinyowl","id":11611384,"avatar_url":"https://avatars.githubusercontent.com/u/11611384?v=3","gravatar_id":"","url":"https://api.github.com/users/sanjay-tinyowl","html_url":"https://github.com/sanjay-tinyowl","followers_url":"https://api.github.com/users/sanjay-tinyowl/followers","following_url":"https://api.github.com/users/sanjay-tinyowl/following{/other_user}","gists_url":"https://api.github.com/users/sanjay-tinyowl/gists{/gist_id}","starred_url":"https://api.github.com/users/sanjay-tinyowl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sanjay-tinyowl/subscriptions","organizations_url":"https://api.github.com/users/sanjay-tinyowl/orgs","repos_url":"https://api.github.com/users/sanjay-tinyowl/repos","events_url":"https://api.github.com/users/sanjay-tinyowl/events{/privacy}","received_events_url":"https://api.github.com/users/sanjay-tinyowl/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-06-03T11:12:19Z","updated_at":"2015-06-23T15:49:39Z","closed_at":null,"body":"Hi,\r\n\r\nWe are getting OutOfMemoryError very frequently while loading bitmap from KenBurnsView library. Here is the complete error logcat:\r\n\r\njava.lang.OutOfMemoryError\r\n       at android.graphics.BitmapFactory.nativeDecodeAsset(BitmapFactory.java)\r\n       at android.graphics.BitmapFactory.decodeStream(BitmapFactory.java:677)\r\n       at android.graphics.BitmapFactory.decodeResourceStream(BitmapFactory.java:507)\r\n       at android.graphics.drawable.Drawable.createFromResourceStream(Drawable.java:872)\r\n       at android.content.res.Resources.loadDrawable(Resources.java:3054)\r\n       at android.content.res.Resources.getDrawable(Resources.java:1613)\r\n       at android.widget.ImageView.resolveUri(ImageView.java:648)\r\n       at android.widget.ImageView.setImageResource(ImageView.java:377)\r\n       at com.flaviofaria.kenburnsview.KenBurnsView.setImageResource(KenBurnsView.java:125)\r\n\r\nCan you tell me the root cause? It seems that bitmap is not getting recycled as soon as the Activity killed by OS. Somehow bitmap remains in memory.\r\n\r\nThanks,\r\nSanjay\r\n"},"comment":{"url":"https://api.github.com/repos/flavioarfaria/KenBurnsView/issues/comments/114554134","html_url":"https://github.com/flavioarfaria/KenBurnsView/issues/27#issuecomment-114554134","issue_url":"https://api.github.com/repos/flavioarfaria/KenBurnsView/issues/27","id":114554134,"user":{"login":"flavioarfaria","id":1800351,"avatar_url":"https://avatars.githubusercontent.com/u/1800351?v=3","gravatar_id":"","url":"https://api.github.com/users/flavioarfaria","html_url":"https://github.com/flavioarfaria","followers_url":"https://api.github.com/users/flavioarfaria/followers","following_url":"https://api.github.com/users/flavioarfaria/following{/other_user}","gists_url":"https://api.github.com/users/flavioarfaria/gists{/gist_id}","starred_url":"https://api.github.com/users/flavioarfaria/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/flavioarfaria/subscriptions","organizations_url":"https://api.github.com/users/flavioarfaria/orgs","repos_url":"https://api.github.com/users/flavioarfaria/repos","events_url":"https://api.github.com/users/flavioarfaria/events{/privacy}","received_events_url":"https://api.github.com/users/flavioarfaria/received_events","type":"User","site_admin":false},"created_at":"2015-06-23T15:49:38Z","updated_at":"2015-06-23T15:49:38Z","body":"Are you having this problem with the standard ImageView?\nEm 23/06/2015 07:55, \"Pagorn Phetchara\" <notifications@github.com> escreveu:\n\n> The images resolution is too large. I suggest you to <2000 pixel\n>\n> —\n> Reply to this email directly or view it on GitHub\n> <https://github.com/flavioarfaria/KenBurnsView/issues/27#issuecomment-114443910>\n> .\n>\n"}}