sublime-text-compass icon indicating copy to clipboard operation
sublime-text-compass copied to clipboard

High CPU usage problem with multiple builds running

Open retroriff opened this issue 9 years ago • 5 comments

After updating Sass to 3.4.22 and now I have a high CPU usage problem. There are multiple open instances "sh" overloading my CPU. I run Mavericks on a Macbook Pro 8GB. It worked fine before updating :S

retroriff avatar Nov 11 '16 11:11 retroriff

How is CPU performance when you build without the plugin, manually via terminal/shell?

renestalder avatar Nov 11 '16 12:11 renestalder

Everything works fine when using the terminal:

compass compile style.scss --css-dir=app/css

I think that the problem with the package is that processes are not closed and remain in memory.

retroriff avatar Nov 11 '16 12:11 retroriff

image

ps auxw | grep sh 45229 6,9 0,0 2447792 2208 ?? S 2:30PM 0:06.06 sh /Users/xxx/Library/Application Support/Sublime Text 3/Packages/Compass/build.sh 33483 6,6 0,0 2447792 2204 ?? S 2:30PM 0:07.72 sh /Users/xxx/Library/Application Support/Sublime Text 3/Packages/Compass/build.sh 31496 6,6 0,0 2447792 2208 ?? S 2:30PM 0:08.20 sh /Users/xxx/Library/Application Support/Sublime Text 3/Packages/Compass/build.sh 31240 6,5 0,0 2447792 2204 ?? S 2:30PM 0:08.53 sh /Users/xxx/Library/Application Support/Sublime Text 3/Packages/Compass/build.sh

retroriff avatar Nov 11 '16 12:11 retroriff

Would you be able to make a fix and pull request for that? Not sure I can take a closer look in the next days.

renestalder avatar Nov 11 '16 12:11 renestalder

Sorry, I am not able to fix it.

retroriff avatar Nov 11 '16 13:11 retroriff