Open 10gic opened 1 week ago
Hi @10gic, this issue duplicates https://github.com/trustwallet/wallet-core/issues/4021 As I mentioned before, GC doesn't have time to trigger the ReferenceQueue to clean up the memory. But in real life there shouldn't be the memory leak. However, if there is something I'm wrong with, or miss something, I'd be happy to know
The root cause is completely different, so I opened a new bug.
I see @10gic, thanks. I'm investigating the bug, thank you!
Describe the bug I found a memory leak in PublicKey within the Kotlin package of Wallet Core.
To Reproduce The following code can trigger a memory leak:
Expected behavior No memory leak.
Screenshots Memory Profiler Screenshot:
Additional context