Landry Norris
01/25/2022, 8:47 PMkotlin::mm::internal::ObjectFactoryStorage<8ul, kotlin::mm::internal::AllocatorWithGC<kotlin::mm::internal::SimpleAllocator, kotlin::gc::SameThreadMarkAndSweep::ThreadData> >::Node::~Node:
and the error is Thread 1: EXC_BAD_ACCESS (code=1, address=0xff000000ff000000)
How can I confirm if this is a GC bug?Landry Norris
01/25/2022, 8:48 PMLandry Norris
01/25/2022, 8:52 PMAlexander Shabalin [JB]
01/26/2022, 7:07 AMLandry Norris
01/26/2022, 4:14 PMLandry Norris
01/26/2022, 4:15 PMLandry Norris
01/27/2022, 2:43 PMAlexander Shabalin [JB]
01/28/2022, 7:35 AMthe memory grows steadily, getting over 1GBThat's indeed weird: in 1.6.10 the GC scheduler should invoke GC after every 10MiB of Kotlin objects allocated; so if the array is ~1.3MiB, the GC should be called at least once every 8 iterations. Just to be clear, if
UIntArray
creation is pulled out of the loop, the memory growth goes away?Landry Norris
01/28/2022, 5:51 PMAlexander Shabalin [JB]
02/07/2022, 3:51 PMLandry Norris
02/07/2022, 3:54 PM