old-balance-ios
old-balance-ios copied to clipboard
⚠️ Memory use is waaaaay too high
Each sudden rise is when I refresh. Leaving the app running for a little while does little to collect the garbage.
I'm sure we can manually release a lot of stuff when we know we don't need it, or use the weak var
marker to allow the GC to free up some space.
Before doing any optimizations, we should use Instruments to see exactly what’s using the memory. Xcode’s CPU and memory profiling tools are top notch.
I’m happy to pair with you on a call to show you how it works. It’s been a little while, but I used to use it a lot so I’m sure it’ll come back to me quickly :)