Library version: 1.2.0
JobExecutor.mFinishedJobsCache keeps a LruCache of 20 finished jobs. These job instances can never be garbage collected, at least not until new jobs push these instances out of the cache.
This introduces memory leaks (LeakCanary detected those in our CI toolchain).
I've released a snapshot build with the change. Could you give it try and let me know if that works for you?
repositories {
jcenter()
maven {
url 'https://oss.sonatype.org/content/repositories/snapshots/'
}
}
dependencies {
compile 'com.evernote:android-job:1.2.1-SNAPSHOT'
}
Thanks! I passed it on to the team that's been testing android-job.
Thanks, @vRallev (a member of the team @pyricau mentinoned here) 鈥撀爐he update fixed the leak in the mFinishedJobsCache. Appreciate it!
Thanks for the feedback. I'll probably release a stable version next week.
@vRallev Is the memory leak fix coming to the stable release anytime soon?
Soonish :)
Version 1.2.1 has been released.
Most helpful comment
Thanks for the feedback. I'll probably release a stable version next week.