FHIR Core / OpenSRP 2 is a Kotlin application for delivering offline-capable, mobile-first healthcare project implementations from local community to national and international scale using FHIR and WHO Smart Guidelines on Android.
Describe the feature request.
Reduce the amount of memory used by the app to hold register and profile data
Additional context
The application logs several Garbage Collection content each time a register/profile is launched. Reducing these logs would require fixing memory issues.
Acceptance criteria
Reduced number of GC logs
Expected performance gain; reducing the GC triggers
Area path
A list of ordered steps in the app on usage of the feature to support anyone testing it e.g. Code reviewer, QA e.g.
Login to the app
Open Navigation bar
Click on any register
Observer quite a number of GC logs
Implementation plan (For Engineers)
Refactor Register/Default repositories to:
Describe the feature request. Reduce the amount of memory used by the app to hold register and profile data
Additional context The application logs several Garbage Collection content each time a register/profile is launched. Reducing these logs would require fixing memory issues.
Acceptance criteria Reduced number of GC logs Expected performance gain; reducing the GC triggers
Area path A list of ordered steps in the app on usage of the feature to support anyone testing it e.g. Code reviewer, QA e.g.
Implementation plan (For Engineers) Refactor Register/Default repositories to: