{"action":"created","issue":{"url":"https://api.github.com/repos/nextgis/android_gisapp/issues/298","labels_url":"https://api.github.com/repos/nextgis/android_gisapp/issues/298/labels{/name}","comments_url":"https://api.github.com/repos/nextgis/android_gisapp/issues/298/comments","events_url":"https://api.github.com/repos/nextgis/android_gisapp/issues/298/events","html_url":"https://github.com/nextgis/android_gisapp/issues/298","id":122537733,"number":298,"title":"Не хватате памяти","user":{"login":"BishopGIS","id":1708122,"avatar_url":"https://avatars.githubusercontent.com/u/1708122?v=3","gravatar_id":"","url":"https://api.github.com/users/BishopGIS","html_url":"https://github.com/BishopGIS","followers_url":"https://api.github.com/users/BishopGIS/followers","following_url":"https://api.github.com/users/BishopGIS/following{/other_user}","gists_url":"https://api.github.com/users/BishopGIS/gists{/gist_id}","starred_url":"https://api.github.com/users/BishopGIS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BishopGIS/subscriptions","organizations_url":"https://api.github.com/users/BishopGIS/orgs","repos_url":"https://api.github.com/users/BishopGIS/repos","events_url":"https://api.github.com/users/BishopGIS/events{/privacy}","received_events_url":"https://api.github.com/users/BishopGIS/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/nextgis/android_gisapp/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":{"login":"4eRTuk","id":4937430,"avatar_url":"https://avatars.githubusercontent.com/u/4937430?v=3","gravatar_id":"","url":"https://api.github.com/users/4eRTuk","html_url":"https://github.com/4eRTuk","followers_url":"https://api.github.com/users/4eRTuk/followers","following_url":"https://api.github.com/users/4eRTuk/following{/other_user}","gists_url":"https://api.github.com/users/4eRTuk/gists{/gist_id}","starred_url":"https://api.github.com/users/4eRTuk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/4eRTuk/subscriptions","organizations_url":"https://api.github.com/users/4eRTuk/orgs","repos_url":"https://api.github.com/users/4eRTuk/repos","events_url":"https://api.github.com/users/4eRTuk/events{/privacy}","received_events_url":"https://api.github.com/users/4eRTuk/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/nextgis/android_gisapp/milestones/3","html_url":"https://github.com/nextgis/android_gisapp/milestones/2.3","labels_url":"https://api.github.com/repos/nextgis/android_gisapp/milestones/3/labels","id":1041897,"number":3,"title":"2.3","description":"Chita","creator":{"login":"simgislab","id":172806,"avatar_url":"https://avatars.githubusercontent.com/u/172806?v=3","gravatar_id":"","url":"https://api.github.com/users/simgislab","html_url":"https://github.com/simgislab","followers_url":"https://api.github.com/users/simgislab/followers","following_url":"https://api.github.com/users/simgislab/following{/other_user}","gists_url":"https://api.github.com/users/simgislab/gists{/gist_id}","starred_url":"https://api.github.com/users/simgislab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/simgislab/subscriptions","organizations_url":"https://api.github.com/users/simgislab/orgs","repos_url":"https://api.github.com/users/simgislab/repos","events_url":"https://api.github.com/users/simgislab/events{/privacy}","received_events_url":"https://api.github.com/users/simgislab/received_events","type":"User","site_admin":false},"open_issues":5,"closed_issues":38,"state":"open","created_at":"2015-03-27T15:48:39Z","updated_at":"2015-12-16T16:13:37Z","due_on":"2015-12-14T21:00:00Z","closed_at":null},"comments":1,"created_at":"2015-12-16T15:58:02Z","updated_at":"2015-12-16T16:27:17Z","closed_at":null,"body":"Галерея фоток вылетает. возможно превьюхи стоит делать и их показывать. А большую только при просмотре на весь экран.\r\n\r\n```\r\njava.lang.OutOfMemoryError\r\n\tat android.graphics.BitmapFactory.nativeDecodeStream(Native Method)\r\n\tat android.graphics.BitmapFactory.decodeStream(BitmapFactory.java:529)\r\n\tat android.graphics.BitmapFactory.decodeFile(BitmapFactory.java:302)\r\n\tat com.keenfin.easypicker.PhotoPicker.getBitmap(PhotoPicker.java:201)\r\n\tat com.keenfin.easypicker.PreviewActivity$PreviewFragment.onCreateView(PreviewActivity.java:83)\r\n\tat android.support.v4.app.Fragment.performCreateView(Fragment.java:1965)\r\n\tat android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1078)\r\n\tat android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1259)\r\n\tat android.support.v4.app.BackStackRecord.run(BackStackRecord.java:738)\r\n\tat android.support.v4.app.FragmentManagerImpl.execPendingActions(FragmentManager.java:1624)\r\n\tat android.support.v4.app.FragmentManagerImpl.executePendingTransactions(FragmentManager.java:570)\r\n\tat android.support.v4.app.FragmentPagerAdapter.finishUpdate(FragmentPagerAdapter.java:141)\r\n\tat android.support.v4.view.ViewPager.populate(ViewPager.java:1106)\r\n\tat android.support.v4.view.ViewPager.populate(ViewPager.java:952)\r\n\tat android.support.v4.view.ViewPager.onMeasure(ViewPager.java:1474)\r\n\tat android.view.View.measure(View.java:15518)\r\n\tat android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:4825)\r\n\tat android.widget.FrameLayout.onMeasure(FrameLayout.java:310)\r\n\tat android.support.v7.internal.widget.ContentFrameLayout.onMeasure(ContentFrameLayout.java:135)\r\n\tat android.view.View.measure(View.java:15518)\r\n\tat android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:4825)\r\n\tat android.widget.LinearLayout.measureChildBeforeLayout(LinearLayout.java:1404)\r\n\tat android.widget.LinearLayout.measureVertical(LinearLayout.java:695)\r\n\tat android.widget.LinearLayout.onMeasure(LinearLayout.java:588)\r\n\tat android.view.View.measure(View.java:15518)\r\n\tat android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:4825)\r\n\tat android.widget.FrameLayout.onMeasure(FrameLayout.java:310)\r\n\tat android.view.View.measure(View.java:15518)\r\n\tat android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:4825)\r\n\tat android.widget.LinearLayout.measureChildBeforeLayout(LinearLayout.java:1404)\r\n\tat android.widget.LinearLayout.measureVertical(LinearLayout.java:695)\r\n\tat android.widget.LinearLayout.onMeasure(LinearLayout.java:588)\r\n\tat android.view.View.measure(View.java:15518)\r\n\tat android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:4825)\r\n\tat android.widget.FrameLayout.onMeasure(FrameLayout.java:310)\r\n\tat com.android.internal.policy.impl.PhoneWindow$DecorView.onMeasure(PhoneWindow.java:2176)\r\n\tat android.view.View.measure(View.java:15518)\r\n\tat android.view.ViewRootImpl.performMeasure(ViewRootImpl.java:1874)\r\n\tat android.view.ViewRootImpl.measureHierarchy(ViewRootImpl.java:1089)\r\n\tat android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:1265)\r\n\tat android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:989)\r\n\tat android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:4351)\r\n\tat android.view.Choreographer$CallbackRecord.run(Choreographer.java:749)\r\n\tat android.view.Choreographer.doCallbacks(Choreographer.java:562)\r\n\tat android.view.Choreographer.doFrame(Choreographer.java:532)\r\n\tat android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:735)\r\n\tat android.os.Handler.handleCallback(Handler.java:725)\r\n\tat android.os.Handler.dispatchMessage(Handler.java:92)\r\n\tat android.os.Looper.loop(Looper.java:137)\r\n\tat android.app.ActivityThread.main(ActivityThread.java:5041)\r\n\tat java.lang.reflect.Method.invokeNative(Native Method)\r\n\tat java.lang.reflect.Method.invoke(Method.java:511)\r\n\tat com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:793)\r\n\tat com.android.internal.os.ZygoteInit.main(ZygoteInit.java:560)\r\n\tat dalvik.system.NativeStart.main(Native Method)\r\n```"},"comment":{"url":"https://api.github.com/repos/nextgis/android_gisapp/issues/comments/165164879","html_url":"https://github.com/nextgis/android_gisapp/issues/298#issuecomment-165164879","issue_url":"https://api.github.com/repos/nextgis/android_gisapp/issues/298","id":165164879,"user":{"login":"NikitaFeodonit","id":8268336,"avatar_url":"https://avatars.githubusercontent.com/u/8268336?v=3","gravatar_id":"","url":"https://api.github.com/users/NikitaFeodonit","html_url":"https://github.com/NikitaFeodonit","followers_url":"https://api.github.com/users/NikitaFeodonit/followers","following_url":"https://api.github.com/users/NikitaFeodonit/following{/other_user}","gists_url":"https://api.github.com/users/NikitaFeodonit/gists{/gist_id}","starred_url":"https://api.github.com/users/NikitaFeodonit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NikitaFeodonit/subscriptions","organizations_url":"https://api.github.com/users/NikitaFeodonit/orgs","repos_url":"https://api.github.com/users/NikitaFeodonit/repos","events_url":"https://api.github.com/users/NikitaFeodonit/events{/privacy}","received_events_url":"https://api.github.com/users/NikitaFeodonit/received_events","type":"User","site_admin":false},"created_at":"2015-12-16T16:27:17Z","updated_at":"2015-12-16T16:27:17Z","body":"Посмотрите, как сделано в Compilink'е. Там на каждом этапе преобразования исходной фотографии к миниатюре старался отслеживать освобождение памяти."}}