Sublime Text 3204 uses gigabytes of memory without any windows opened on macOS 10.14.4.
@wbond I found the reason, it happens when switching between
ayu themes. Here is video demonstrating the issue. I reckon no theme switching should leak memory, however broken theme is. The custom switch command is not the problem here, it happens if you use standard Sublime Text command for switching theme too.