I am in the middle of experimenting where I leave Anki open to see if a memory leak occurs.
- M1 Mac Mini
- MacOS Tahoe 26.1
- Anki 25.09.2. Enabled: Synchronize audio and images too, Automatically sync on profile open/close, Periodically sync media
- No Add-ons installed.
Manually pressing the Sync button repeatedly did not result in memory leak behavior. Per Activity Monitor, Anki’s memory usage on my system seemed to fluctuate within the range of 155-185 MB, going up and down seemingly independent of when I was pressing the Sync button.
Opening up the Add window caused memory usage to jump to the range of 200-225 MB. (I’m leaving Anki open with the Add window open.)
I’ll keep editing this post with updates.
Edit: added:
7 hours later, and Anki memory usage is slightly (20 MB) less than at the start.
17 hours from the start: memory usage was about the same, up 1 MB from 10 hours ago. My computer was in sleep mode for about 7 hours overnight. (It was also in sleep mode for about 1 hour in the previous 7-hour period.) While adding this edit to the post, memory usage increased an additional 1 MB and then decreased by 4 MB, which seems to be the normal fluctuation behavior.)
30 hours from start: memory usage is still about the same.
42 hours from start: memory usage is still about the same.
66 hours from start: memory usage is still about the same. (From 36 hours ago, memory usage has crept up by 2 MB which I still see as just normal fluctuation. Another reminder that my computer is set to sleep when idle.)
88 hours from start: memory usage crept up another 3-4 MB. So, memory usage does seem to be increasing, but very slowly. I’m not sure if this is a memory leak or if it is normal. But, I don’t perceive it to be a problem. Total memory usage doesn’t seem to be that high, relative to other apps.
I also noticed that memory usage increases when I bring the Anki windows into the foreground and then later decreases when the windows are minimized and put into the background.
111 hours from start: Memory usage is now a little bit lower than the last report at 88 hours.
I’m ending the experiment here. I don’t think that I see any obvious memory leak.