Crash: E/REALM: could not create WeakRealmNotifier ALooper message pipe: Too many open files
See original GitHub issueWhile trying to determine if I have any memory leaks, I now trigger a garbage collection manually at the end of a long running process (many network requests with Retrofit
composed using RxJava
).
While running the profiler, I got this error, which seems very similar to #4002
E/REALM: could not create WeakRealmNotifier ALooper message pipe: Too many open files.
E/REALM: uncaught exception in notifier thread: St12system_error: Bad file descriptor
A/libc: Fatal signal 6 (SIGABRT), code -6 in tid 10120 (HandlerThread 1)
I though I should report this. Any idea what could be causing it? #4002 turned out to be a Realm bug.
Is there something I could be doing wrong and trigger this error? I keep Realm connections open only for the time I need them.
Version of Realm and tooling
Realm version(s): 4.3.4
Realm sync feature enabled: no
Android Studio version: 3.0.1
Which Android version and device: Android 7.0, Samsung S7
Issue Analytics
- State:
- Created 5 years ago
- Comments:15 (7 by maintainers)
Top Results From Across the Web
Unable to open a realm at path: open() failed: Too many open ...
I have an android application which I do many realm operations. I tried to use handler threads to faster the database operations however ......
Read more >Failed to create pipes, error=Too many open files or vasd high ...
Receiving message in syslog: Failed to create pipes, error=Too many open files 4265300.
Read more ><com.samsung.android.samsungpositioning>.apk
This report is generated from a file or URL submitted to this webservice on August 8th 2019 ... could not create WeakRealmNotifier ALooper...
Read more >Even with 90000 NOFILE mongo crashes with Too many open ...
I found the problem which is not related to mongoDB. I had a file descriptor leak on another process and it sucked our...
Read more >Too many open files" error occurs? - Nim forum
But, when I open a lot of files a got the message and the program crash: Exception message: Too many open files Exception...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Kind of, there is
Realm.getGlobalInstanceCount(realmConfiguration)
@cmelchior Is there an API to check the number of open realm connections?
This would really help when debugging anything related to Realm.