I have found such kinds of error while calling Web Apis when json response is too large.
Throwing OutOfMemoryError "Failed to allocate a 104643040 byte allocation with 25165824 free bytes and 51MB until OOM, target footprint 172504768, growth limit 201326592" (VmSize 14010196 kB)
Please provide the solution as i am new in compose multiplatform
Json.decodeFromSourcemethod (kotlinlang.org/api/kotlinx.serialization/…) for streaming, memory-efficient JSON parsing. However, if the deserialized object is too large for your available heap space, it might still cause anOutOfMemoryError.