val gson = GsonBuilder().setPrettyPrinting().create()
Log.e("surveyListPretreatment",gson.toJson(
SurveyTab(viewModel.owner.treat).apply {
surveyListPretreatment = viewModel.surveyTabs.surveyListPretreatment
})
)
java.lang.OutOfMemoryError: Failed to allocate a 150994952 byte allocation with 25165824 free bytes and 103MB until OOM, max allowed footprint 118228816, growth limit 201326592
Because,
the DTO has
var imgByteArray:ByteArray? = null //bitmap convert byteArray => It's OOM Generated...
how can I fix that?