You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I possible found a bug. On big projects when you use selector like &--class-name {} memory leak happens. I can't reproduce it on little projects but I tested it on several latest projects, this problem works on each of them.
It is enough to add in any file selector like that
I don't know if I correct choose repository to report, but I think this is compilation issue.
I attached my project sass folder to show you problem. memory-leak.tar.gz
It's clean for now of any problems. When file recompile, it uses only around 40mb of ram, but if you add, f.e. in styles/scss/styles.scss at the end
.test {
&-test {}
}
it will start consume around 120mb, and then after every (!) recompile it uses additional 60m of ram. So this will increase ram consuption before computer is out of memory. Each "test" construction added another ~60m of ram per compile.
P.s. Sorry for my english, hopes you understand me :)
The text was updated successfully, but these errors were encountered:
Niklan
changed the title
&--selector cause memory leak
&-selector cause memory leak
Oct 19, 2016
Hi.
I possible found a bug. On big projects when you use selector like
&--class-name {}
memory leak happens. I can't reproduce it on little projects but I tested it on several latest projects, this problem works on each of them.It is enough to add in any file selector like that
This selector is correct, according to SASS_REFERENCE
I don't know if I correct choose repository to report, but I think this is compilation issue.
I attached my project sass folder to show you problem.
memory-leak.tar.gz
It's clean for now of any problems. When file recompile, it uses only around 40mb of ram, but if you add, f.e. in
styles/scss/styles.scss
at the endit will start consume around 120mb, and then after every (!) recompile it uses additional 60m of ram. So this will increase ram consuption before computer is out of memory. Each "test" construction added another ~60m of ram per compile.
P.s. Sorry for my english, hopes you understand me :)
The text was updated successfully, but these errors were encountered: