-
Notifications
You must be signed in to change notification settings - Fork 302
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adjust create TOO much threads!! #265
Comments
Hi @Bendor. We do have a custom Executor that you can see it here, but we have not noticied this pattern before. |
The same story on Android Studio emulator (android 4.3 as example) |
Logs:
|
My adjust config:
ViberBuildConfig.DEBUG is true |
see also http://prntscr.com/e5muci |
Hey @Bendor |
Thanks! |
@obaied |
We're working on it and we'll try to push a release ASAP. I hope you can be patient with us. Thanks |
@obaied Could you give the latest adjust version number without this problem? |
@Bendor We will release a patch in the next 1-2 weeks to fix this issue. For now, I can't guarantee that previous versions didn't have this issue. From what I can see, the issue is not causing any crashes since we're just creating the thread and it times out after a certain delay (10ms). Its not a good scenario in any case, but I assure you it won't crash since the overhead is tiny. Also, we're only using 1 thread (that will timeout if unused) to do everything related to Adjust, so it won't affect performance. I hope you can be patient with us, and thanks again for reporting this issue |
Nevertheless, this issue seems to cause native crashes in |
Hi @MichaelRocks and thanks for the reports. Next SDK patch version (4.11.1) will contain fix for this issue. Will be live beginning next week. Will keep you posted about the release in this issue. Cheers |
Hi folks. This should not happen anymore as of latest SDK release (https://github.com/adjust/android_sdk/releases/tag/v4.11.1). Feel free to reopen the issue if the problem still occurs with newest SDK version. Cheers |
On some devices (probably android version < 5.0 ) Adjust creates a lot of treads (thousands per minute!)
It strongly flood CPU and GC!
Reprodused on Sony C1905 (android 4.3), Fly IQ4410 quard (android 4.2.1), HTC One X (android 4.2.2), Galaxu Nexus (android 4.3) etc...
Cannot reproduce on android 5.0 and above!
Adjust version 4.11.0
Logs (from Fly IQ4410):
The text was updated successfully, but these errors were encountered: