-
Notifications
You must be signed in to change notification settings - Fork 158
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Weird mixin SCSS causes massive memory leak #201
Comments
I can confirm that #199 fixes the issue |
uqs
pushed a commit
to freebsd/freebsd-ports
that referenced
this issue
May 17, 2020
This is a workaround for gitlab-ce. It should be fixed after rubygem-sassc updating libsass from 3.6.3 to 3.6.4. Reference: https://gitlab.com/gitlab-org/gitlab/-/issues/216740 sass/sassc-ruby#201 sass/sassc-ruby#199 git-svn-id: svn+ssh://svn.freebsd.org/ports/head@535562 35697150-7ecd-e111-bb59-0022644237b5
uqs
pushed a commit
to freebsd/freebsd-ports
that referenced
this issue
May 17, 2020
- Bump PORTREVISION for dependency change This is a workaround for gitlab-ce. It should be fixed after rubygem-sassc updating libsass from 3.6.3 to 3.6.4. Reference: https://gitlab.com/gitlab-org/gitlab/-/issues/216740 sass/sassc-ruby#201 sass/sassc-ruby#199 git-svn-id: svn+ssh://svn.freebsd.org/ports/head@535563 35697150-7ecd-e111-bb59-0022644237b5
uqs
pushed a commit
to freebsd/freebsd-ports
that referenced
this issue
May 17, 2020
This is a workaround for gitlab-ce. It should be fixed after rubygem-sassc updating libsass from 3.6.3 to 3.6.4. Reference: https://gitlab.com/gitlab-org/gitlab/-/issues/216740 sass/sassc-ruby#201 sass/sassc-ruby#199
uqs
pushed a commit
to freebsd/freebsd-ports
that referenced
this issue
May 17, 2020
- Bump PORTREVISION for dependency change This is a workaround for gitlab-ce. It should be fixed after rubygem-sassc updating libsass from 3.6.3 to 3.6.4. Reference: https://gitlab.com/gitlab-org/gitlab/-/issues/216740 sass/sassc-ruby#201 sass/sassc-ruby#199
Jehops
pushed a commit
to Jehops/freebsd-ports-legacy
that referenced
this issue
May 18, 2020
This is a workaround for gitlab-ce. It should be fixed after rubygem-sassc updating libsass from 3.6.3 to 3.6.4. Reference: https://gitlab.com/gitlab-org/gitlab/-/issues/216740 sass/sassc-ruby#201 sass/sassc-ruby#199 git-svn-id: svn+ssh://svn.freebsd.org/ports/head@535562 35697150-7ecd-e111-bb59-0022644237b5
Jehops
pushed a commit
to Jehops/freebsd-ports-legacy
that referenced
this issue
May 18, 2020
- Bump PORTREVISION for dependency change This is a workaround for gitlab-ce. It should be fixed after rubygem-sassc updating libsass from 3.6.3 to 3.6.4. Reference: https://gitlab.com/gitlab-org/gitlab/-/issues/216740 sass/sassc-ruby#201 sass/sassc-ruby#199 git-svn-id: svn+ssh://svn.freebsd.org/ports/head@535563 35697150-7ecd-e111-bb59-0022644237b5
This looks good to me too. Thanks for: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Let's start by saying this is a difficult issue to report on. I filed it with the
foundation-sites
folks and they're pretty confident it's a bug insassc
. I'm no ruby expert but I think that there's no situation under which this library should take more than 50Gb of memory so hopefully I can find a home for this issue without too much back and forth.What should happen?
When I use
jekyll
to build the scss for foundation-sites the the memory consumption swells to 50+Gb unless I comment out a chunk of the@mixin foundation-button-group
When I comment out these lines it works. I'm not really a SASS expert so I don't know what to suggest. I only found this by commenting out everything and bringing things back until it compiled.
My Environment:
OSX 10.15.4
Ruby:
ruby 2.6.4p104 (2019-08-28 revision 67798) [x86_64-darwin18]
Foundation installed with NPM, copied over to Jekyll's
_sass
folder.Compiling SCSS using jekyll 4.0 and sassc
From my
Gemfile.lock
Reproducing
I've got a repo that shows the problem here (dev branch):
https://github.com/Riverscapes/riverscapes-jekyll-theme/tree/dev
Repro steps:
bundle install
bundle exec jekyll server --verbose
Watch memory consumption go BOOM!

The text was updated successfully, but these errors were encountered: