Sublime Forum

[ST3] [Linux] [x86_64] Folder watching leaks VIRT space

#1

Given the following set of circumstances, beta (3047) and dev (3052) accumulates exceptional amounts of VIRT space (as seen in top’s VIRT) column:

  • Have a project open.

  • Have a folder in the project.

  • Have the sidebar open.

  • Outside of ST3, run a build in the folder every second.

I have observed the leak with something as simple aswhile true; do date > foo.txt; sleep 1; rm foo.txt; done

Interestingly enough, it does not happen if the sleep is omitted.

This should show the VIRT figure increase by several megs at a time. As some trivia, when the process eventually reaches 256 gigabytes, it stops responding and is eventually terminated, so it has some bothersome side effects for long-running sessions.

OS: Xubuntu 13.04 x86_64

0 Likes