realm-kotlin icon indicating copy to clipboard operation
realm-kotlin copied to clipboard

[Frozen Architecture] Native leak memory when closing Realms

Open cmelchior opened this issue 4 years ago • 1 comments

Native leak memory in MemoryTests.garbageCollectorShouldFreeNativeResources

It looks like it could be related to circles in our object-graph created through RealmReference: https://github.com/realm/realm-kotlin/pull/314

cmelchior avatar Jul 02 '21 08:07 cmelchior

The garbage collector for the new memory model should be able to detect those cycles now, so should probably be able to reenable the test.

rorbech avatar Jun 13 '23 13:06 rorbech