I am currently working on reducing the RAM memory consumption of an app because the app throw a out-memory error.
I don't know if the number of methods in an activity impacts in memory consumption but, if my idea is correct, how can I improve this?, Using more static methods?
Or what other recommendations can you make?, I made memory profiles, dependency injection (manually, nothing from Hilt Dagger or other library), reduction of bitmaps type variables, change to MVVM design pattern, change of graphic images to vectors.
Any comment can help me, thanks