Krzysztof Turek
1 min readJun 18, 2018

--

Hi Kingsley Adio,

You wrote:

“From your explanation, both Swift and Kotlin references get lost once you exit the method.”

It’s not true. They aren’t removed, they become eligible to remove :) On iOS, ARC removes it immediately*, but on Android you have to wait for a GC pause. The biggest difference is that you don’t know when the GC starts a garbage collection process. If your memory heap is almost full, right after onStart method is completed, probably a scenario will be the same like on iOS.

--

--

Krzysztof Turek
Krzysztof Turek

Responses (1)