error OutOfMemoryError com.vanniktech.emoji.EmojiView.tearDown
hvar90 opened this issue · 1 comments
hvar90 commented
Version of the library: emoji-ios:0.17.0
Affected devices: more than 20 different devices
Affected versions: android 7, 8, 9, 10, 11, 12 ,13
i am having this error many times
Exception java.lang.OutOfMemoryError: pthread_create (1040KB stack) failed: Try again
at java.lang.Thread.nativeCreate
at java.lang.Thread.start (Thread.java:976)
at java.util.concurrent.ThreadPoolExecutor.addWorker (ThreadPoolExecutor.java:954)
at java.util.concurrent.ThreadPoolExecutor.execute (ThreadPoolExecutor.java:1362)
at java.util.concurrent.AbstractExecutorService.submit (AbstractExecutorService.java:123)
at java.util.concurrent.Executors$DelegatedExecutorService.submit (Executors.java:705)
at com.vanniktech.emoji.EmojiView.tearDown (EmojiView.java)
at com.vanniktech.emoji.EmojiPopup.dismiss (EmojiPopup.java)
at schan.main.profile.CommentsFragment$8.onKeyboardClose (CommentsFragment.java)
at com.vanniktech.emoji.EmojiPopup.updateKeyboardStateClosed$emoji_release (EmojiPopup.java)
at com.vanniktech.emoji.EmojiPopup$EmojiPopUpOnApplyWindowInsetsListener.onApplyWindowInsets (EmojiPopup.java)
at android.view.View.dispatchApplyWindowInsets (View.java:12010)
at android.view.ViewGroup.dispatchApplyWindowInsets (ViewGroup.java:7715)
at android.view.ViewRootImpl.dispatchApplyInsets (ViewRootImpl.java:3527)
at android.view.ViewRootImpl.performTraversals (ViewRootImpl.java:3966)
at android.view.ViewRootImpl.doTraversal (ViewRootImpl.java:3116)
at android.view.ViewRootImpl$TraversalRunnable.run (ViewRootImpl.java:10885)
at android.view.Choreographer$CallbackRecord.run (Choreographer.java:1301)
at android.view.Choreographer$CallbackRecord.run (Choreographer.java:1309)
at android.view.Choreographer.doCallbacks (Choreographer.java:923)
at android.view.Choreographer.doFrame (Choreographer.java:852)
at android.view.Choreographer$FrameDisplayEventReceiver.run (Choreographer.java:1283)
at android.os.Handler.handleCallback (Handler.java:942)
at android.os.Handler.dispatchMessage (Handler.java:99)
at android.os.Looper.loopOnce (Looper.java:226)
at android.os.Looper.loop (Looper.java:313)
at android.app.ActivityThread.main (ActivityThread.java:8757)
at java.lang.reflect.Method.invoke
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:571)
at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:1067)
vanniktech commented
If you find a memory leak, please report it; otherwise there's nothing we can do.