Exception only happend in android-5.1.1 -lollipop I can't reproduce this crash. this bug was catched by bugly
Asked
Active
Viewed 2,500 times
-1
-
2refer http://stackoverflow.com/questions/35701501/throwing-outofmemoryerror-pthread-create-1040kb-stack-failed-try-again-when – sasikumar Dec 09 '16 at 04:00
-
add android:largeHeap=true in manifest – Rushi Ayyappa Dec 09 '16 at 04:25
1 Answers
2
You can set android:largeHeap="true"
in application tag of Menifest file. But this is not proper way. It is good if you can find some memory leak in your app. Try to check for memory leak in your app and then resolve it. Some asynktasks may produce memory leak in you app or passing context may also produce memory leak.
This link may help you to find memory leak in your application.

Lalit Jadav
- 1,409
- 1
- 15
- 38