Closed walterCui closed 4 years ago
@walterCui Looks like your app runs out of heap memory, you may resolve this by,
<application ... android:largeHeap="true">
in your manifest file.
From Flurry side, we will investigate further whether it's possible to improve the Thread model.
Thanks for the response
Caused by java.lang.OutOfMemoryError: pthread_create (1040KB stack) failed: Try again at java.lang.Thread.nativeCreate(Thread.java) at java.lang.Thread.start + 733(Thread.java:733) at java.util.concurrent.ThreadPoolExecutor.addWorker + 970(ThreadPoolExecutor.java:970) at java.util.concurrent.ThreadPoolExecutor.execute + 1386(ThreadPoolExecutor.java:1386) at com.flurry.sdk.e.a + 3(SourceFile:3) at com.flurry.sdk.i.a + 24(SourceFile:24) at com.flurry.sdk.i.b + 6(SourceFile:6) at com.flurry.sdk.g.b + 1(SourceFile:1) at com.flurry.sdk.i.a + 18(SourceFile:18) at com.flurry.sdk.i.a + 33(SourceFile:33) at com.flurry.sdk.i.b + 6(SourceFile:6) at com.flurry.sdk.f.b + 1(SourceFile:1) at com.flurry.sdk.m.a + 3(SourceFile:3) at com.flurry.sdk.ap.a + 6(SourceFile:6) at com.flurry.sdk.ap.onActivityPaused + 1(SourceFile:1) at android.app.Application.dispatchActivityPaused + 225(Application.java:225) at android.app.Activity.onPause + 1681(Activity.java:1681) at com.unity3d.player.UnityPlayerActivity.onPause() at com.hs.commom.HSUnityAcitivity.onPause + 1(HSUnityAcitivity.java:1) at android.app.Activity.performPause + 7217(Activity.java:7217) at android.app.Instrumentation.callActivityOnPause + 1408(Instrumentation.java:1408) at android.app.ActivityThread.performPauseActivityIfNeeded + 4020(ActivityThread.java:4020) at android.app.ActivityThread.performPauseActivity + 3997(ActivityThread.java:3997) at android.app.ActivityThread.performPauseActivity + 3971(ActivityThread.java:3971) at android.app.ActivityThread.handlePauseActivity + 3945(ActivityThread.java:3945) at android.app.ActivityThread.-wrap15() at android.app.ActivityThread$H.handleMessage + 1717(ActivityThread.java:1717) at android.os.Handler.dispatchMessage + 106(Handler.java:106) at android.os.Looper.loop + 164(Looper.java:164) at android.app.ActivityThread.main + 6615(ActivityThread.java:6615) at java.lang.reflect.Method.invoke(Method.java) at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run + 438(RuntimeInit.java:438) at com.android.internal.os.ZygoteInit.main + 857(ZygoteInit.java:857)