macOS is experiencing a severe memory leak issue.

After installing macOS Tahoe26.0 beta5 (25A5338b) or beta4, a memory and disk leak appears, likely caused by Spotlight indexing. The mds_stores process consumes up to 60 GB of RAM, while disk writes continue until an additional 50 GB is filled. Once the maximum is reached, the system frees the space and the cycle repeats, leading to severe memory leakage. In the available space, system data occupies as much as 150 GB.

System Versions Affected:

macOS Tahoe26.0 beta5 (25A5338b) and beta4.

Reproduction Steps:

Occurs immediately after booting up, with no additional user actions.

Workaround:

Booting into Safe Mode prevents the issue from occurring.

Possible Cause:

A bug in Spotlight indexing. In Safe Mode, Launchpad cannot search for applications, and no other issues have been observed so far. This strongly suggests that Spotlight indexing is the root cause.

Potentially Affected Software:

Developer-related tools such as Node.js, Maven, Vue.js, etc. It is possible that Spotlight is indexing developer project dependency directories (e.g., node_modules), which contain a large number of small files that do not require indexing, leading to this problem.

Same in beta 6

I sincerely apologize for misstating the version number. This issue first appeared after beta 5 and persists even in beta 6 (25A5338b).

中文

可能的解决方法

1、进入系统设置、聚焦、关闭除了APP的所有选项

2、打开终端输入:

sudo mdutil -X /

sudo mdutil -X /System/Volumes/Preboot

sudo mdutil -X /System/Volumes/Data

若无法解决,可以尝试进入Mac的安全模式下尝试此操作

English:

Possible solutions Go to System Settings > Spotlight, and disable everything except “App” Open Terminal and run:

sudo mdutil -X /

sudo mdutil -X /System/Volumes/Preboot

sudo mdutil -X /System/Volumes/Data

If the issue persists, try running the same commands in macOS Safe Mode.

English:

​​Still experiencing issues?,Here are the potentially relevant log files:​​

中文:

依然存在问题,这是可能用到的日志文件

I had to additionally force-quite mds_stores and disable spotlight on all drives with mdutil -a -i off. This might fail, if one is too 'slow' and mds_stores restarts, preventing disabling of indices. Then, deleting index files as mentioned by wangzhenxing worked!

Trying to disable indexing from system settings fails with some 'unknown error'.

Beta 7 seems to have fixed the issue.

macOS is experiencing a severe memory leak issue.
 
 
Q