Open Monochrome-Sauce opened 4 months ago
Does it happen in safe mode?
Yes, and even faster.
It also happens on an Arch (Sway) machine with completely different hardware (same Sublime Text build)
How many files are being created?
My case has over 1000, but it also happens at ~600.
Memory usage rose by hundreds of MiB for subl --safe-mode
open over the weekend with much less files.
Creating 100,000 files very quickly on my end locks up ST for a little bit, but memory usage goes up barely 100MB and the process goes back to idle afterwards. As such I really can't reproduce this issue.
Description of the bug
When there are a lot of files, Sublime Text's memory usage starts to rise (it reached higher than in the attached picture) and it ends up crashing. When the crash happens, the
inotify
system limit is reached. The system has enough memory to keep operating.Additional information: the files were added by a build system and appear in the
.gitignore
file.Steps to reproduce
Expected behavior
Not crash when many files get created, and to not use a dozen gigs of memory.
Actual behavior
Crash with high memory usage because of inotify limit.
Sublime Text build number
4175
Operating system & version
Fedora Kionite 40
(Linux) Desktop environment and/or window manager
KDE 6
Additional information
No response
OpenGL context information
No response