# Excessive memory use and crash - creating custom study on macOS

**URL:** <https://forums.ankiweb.net/t/excessive-memory-use-and-crash-creating-custom-study-on-macos/74470>\
**Category:** Help\
**Created:** [November 13, 2026, 7:17pm UTC](https://forums.ankiweb.net/t/excessive-memory-use-and-crash-creating-custom-study-on-macos/74470 "2026-11-13T19:17:34Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![riceus](https://avatars.discourse-cdn.com/v4/letter/r/59ef9b/32.png) [@riceus](https://forums.ankiweb.net/u/riceus)\
**Post date:** [November 13, 2026, 7:17pm UTC](https://forums.ankiweb.net/t/excessive-memory-use-and-crash-creating-custom-study-on-macos/74470/1 "2026-11-13T19:17:34Z")

</div>

I am experiencing a reproducible issue when attempting to create a custom study session using tags or card states.

When selecting either option, Anki becomes unresponsive and its memory consumption begins increasing continuously. Memory usage can exceed 20-30 GB, making the application unusable.

The issue persists in safe mode without addons. The issue does not take place on the windows desktop client using the same deck (anking deck which has several thousand cards.

### Environment

- **Operating system:** macOS 27.0.1

- **Hardware:** 13-inch MacBook Pro (M1, Apple Silicon) 16 GB of RAM

- **Anki version:** Version ⁨26.09.4 (c06370ff)⁩  
Python 3.13.17 Qt 6.11.2 Chromium 140

### Steps to Reproduce

1. Launch Anki.

2. Navigate to the custom study session creation interface.

3. Attempt to create a custom study session using the tag selection option.

4. Observe application responsiveness and memory consumption.

### Expected Behavior

Anki should open a window where included and excluded tags are selectable. Memory usage should not increase to the observed degree.

### Actual Behavior

- Anki becomes unresponsive during the creation process.

- Memory consumption continuously increases.

- Memory usage can exceed 20-30 GB (12GB memory + 16 GB of swap).

- The application remains frozen until force-quit.

### Troubleshooting Already Performed

The issue persists under the following conditions:

1. **Safe Mode:** Reproduces with all add-ons disabled.

2. **Software rendering:** Switching to software rendering does not resolve the issue.

3. **OpenGL rendering:** Switching to OpenGL rendering does not resolve the issue.

---

<div class="post-metadata">

**Author:** ![abdo](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/abdo/32/654_2.png) [@abdo](https://forums.ankiweb.net/u/abdo)\
**Post date:** [November 16, 2026, 2:53pm UTC](https://forums.ankiweb.net/t/excessive-memory-use-and-crash-creating-custom-study-on-macos/74470/3 "2026-11-16T14:53:12Z")

</div>

No luck reproducing it yet. Some questions:

- Do you have a large number of tags? Can you reproduce this in a fresh profile with only a few tags and does that reduce memory consumption and lag?
- When did this start to happen? Can you test with [26.08.1](https://github.com/ankitects/anki/releases/tag/26.08.1)?

---

<div class="post-metadata">

**Author:** ![BenJamesBen](https://avatars.discourse-cdn.com/v4/letter/b/13edae/32.png) [@BenJamesBen](https://forums.ankiweb.net/u/BenJamesBen)\
**Post date:** [November 23, 2026, 2:20am UTC](https://forums.ankiweb.net/t/excessive-memory-use-and-crash-creating-custom-study-on-macos/74470/4 "2026-11-23T02:20:33Z")

</div>

I, too, am unable to reproduce the reported behavior. Anki 26.09.4, macOS Golden Gate 27.2.1, M1 Mac mini. Pressing the “Choose Tags” button results in the tag-choosing dialog appearing as expected, and the dialog correctly allows tags to be chosen and a Custom Study Session deck to be created.

However, I was using a minimal test deck, with only 1 available Tag. I, too, am interested in knowing how many existing Tags there are in the OP’s problem deck.

---

<div class="post-metadata">

**Author:** ![riceus](https://avatars.discourse-cdn.com/v4/letter/r/59ef9b/32.png) [@riceus](https://forums.ankiweb.net/u/riceus)\
**Post date:** [November 23, 2026, 4:24am UTC](https://forums.ankiweb.net/t/excessive-memory-use-and-crash-creating-custom-study-on-macos/74470/5 "2026-11-23T04:24:04Z")

</div>

Yes, the deck has a lot of tags (likely hundreds, though I am unsure how to check). The deck has around 36,000 cards.

On a smaller deck with fewer tags, this issue doesn’t happen and the behavior is as expected.

The issue has been present for the past few version of anki, but I’ve been side stepping it by creating custom study decks on my PC instance of anki and then syncing.

---

<div class="post-metadata">

**Author:** ![Danika\_Dakika](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/danika_dakika/32/17815_2.png) [@Danika\_Dakika](https://forums.ankiweb.net/u/Danika_Dakika)\
**Post date:** [November 23, 2026, 6:00am UTC](https://forums.ankiweb.net/t/excessive-memory-use-and-crash-creating-custom-study-on-macos/74470/6 "2026-11-23T06:00:27Z")

</div>

> [@riceus](#):
>
> Yes, the deck has a lot of tags (likely hundreds, though I am unsure how to check).

Are you using all the tags in your collection? Have you run `Tools > Check Database` [or `Notes > Clear Unused Tags`] lately, on that specific device, to clean things up?

---

<div class="post-metadata">

**Author:** ![Ahmed7](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/ahmed7/32/35066_2.png) [@Ahmed7](https://forums.ankiweb.net/u/Ahmed7)\
**Post date:** [November 23, 2026, 6:27pm UTC](https://forums.ankiweb.net/t/excessive-memory-use-and-crash-creating-custom-study-on-macos/74470/7 "2026-11-23T18:27:54Z")

</div>

This used to happen to me a lot, I remember especially when I had 10+ custom studies already made then continued creating more, how many custom studies do you have when you do this and then it freezes?

---

<div class="post-metadata">

**Author:** ![tem365](https://avatars.discourse-cdn.com/v4/letter/t/b19c9b/32.png) [@tem365](https://forums.ankiweb.net/u/tem365)\
**Post date:** [November 29, 2026, 9:35pm UTC](https://forums.ankiweb.net/t/excessive-memory-use-and-crash-creating-custom-study-on-macos/74470/8 "2026-11-29T21:35:57Z")

</div>

I am having an issue when attempting to create a custom study deck in Anki. I am using a premade deck (Anking Step Deck) downloaded from the internet. There are several tags that I unsuspend as it aligns with my coursework. I am avoiding deleting unused tags and unused media because I will eventually need to rely on those in the future when I cover the material. I have looked at other forums but haven’t found a resolution.

When I try to create a custom deck, this is the pop up that comes up:

 ![Screenshot 2026-11-29 at 4.17.06 PM](https://us1.discourse-cdn.com/flex002/uploads/anki2/original/3X/3/7/378ea3cd531e6d5ca337bcc21a916b0ddd22f84f.png)

I have attempted to:

Install/reinstall anki but issue persists.

Change video driver to software but issue persists

Removed excess addons but issue persists (38 GB of usage went down to 30 GB in picture, and 36.83 GB when I tried again).

Deleted all custom study session (only one) but issue persists.

---

<div class="post-metadata">

**Author:** ![Danika\_Dakika](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/danika_dakika/32/17815_2.png) [@Danika\_Dakika](https://forums.ankiweb.net/u/Danika_Dakika)\
**Post date:** [November 30, 2026, 3:00am UTC](https://forums.ankiweb.net/t/excessive-memory-use-and-crash-creating-custom-study-on-macos/74470/9 "2026-11-30T03:00:47Z")

</div>

What you’re reporting looks similar to this, so I merged your post here. See above for the advice given so far.

> [@tem365](#):
>
> I am avoiding deleting unused tags and unused media because I will eventually need to rely on those in the future when I cover the material.

“Unused” tags are tags that aren’t applied to _any_ note in your collection. Similarly “unused” media isn’t attached to any note in your collection. Those are leftover from things you imported and have now deleted – or they are things you used to use, but removed from your notes.

Unless you’re planning to use them when you _add_ new notes in the future, you don’t need to keep them around. Anything that is applied/attached to an existing note, even one you haven’t studied yet, won’t be removed.

> [@tem365](#):
>
> Removed excess addons but issue persists

You should try _everything_ on the [Troubleshooting Checklist](https://docs.ankiweb.net/manual/troubleshooting) – including the things you don’t think are relevant. Start with #2 safe mode, to eliminate the influence of all add-ons, not just “excess” ones. Even if an add-on is important to you, that doesn’t mean it isn’t causing you problems.

When you run #4 Check Database, it will also take care of those unused tags.

When you get to #6 video drivers, make sure you follow the directions there and try every option.

See also:

> [@Reviewer leaks ~70 MB/min of graphics memory while an animated GIF is on screen (macOS) — repaint-rate threshold identified](https://forums.ankiweb.net/t/reviewer-leaks-70-mb-min-of-graphics-memory-while-an-animated-gif-is-on-screen-macos-repaint-rate-threshold-identified/70633/4):
>
> Memory leaks are unfortunately a common report on macOS: I’m not sure if there’s anything Anki can do if it’s a Qt issue.

---

<div class="post-metadata">

**Author:** ![aleks\_ya](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/aleks_ya/32/22205_2.png) [@aleks\_ya](https://forums.ankiweb.net/u/aleks_ya)\
**Post date:** [November 30, 2026, 4:34am UTC](https://forums.ankiweb.net/t/excessive-memory-use-and-crash-creating-custom-study-on-macos/74470/10 "2026-11-30T04:34:05Z")

</div>

Possible it makes sense to explore the sizes of notes in the query of your custom study ([Note Size add-on](https://ankiweb.net/shared/info/1188705668)). Maybe you can see any anomalies.

 ![image](https://us1.discourse-cdn.com/flex002/uploads/anki2/original/3X/0/4/0417918c868cb82b54bd633ec331cad7dc04ff0b.png)

---

<div class="post-metadata">

**Author:** ![abdo](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/abdo/32/654_2.png) [@abdo](https://forums.ankiweb.net/u/abdo)\
**Post date:** [November 30, 2026, 2:30pm UTC](https://forums.ankiweb.net/t/excessive-memory-use-and-crash-creating-custom-study-on-macos/74470/11 "2026-11-30T14:30:19Z")

</div>

Issue logged here: [macOS accessibility features trigger crashes and excessive memory usage · Issue #6058 · ankitects/anki · GitHub](https://github.com/ankitects/anki/issues/6058)

It appears to be triggered by accessibility features such as VoiceOver. The next beta should fix the memory issue, though the screen might still freeze and no fix is available yet (hopefully in the next release after 26.11).
