Skip to content
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

Memory keeps growing #12

Closed
AndersMad opened this issue Jan 29, 2017 · 3 comments
Closed

Memory keeps growing #12

AndersMad opened this issue Jan 29, 2017 · 3 comments

Comments

@AndersMad
Copy link

AndersMad commented Jan 29, 2017

A simple (ASP.NET) stress test on below will make the RAM usage keep growing / memory corruption (all unmanaged memory)

using (var compiler = new SassCompiler()) {
  try {
    var result = compiler.Compile("p { color: red; }");
    ...

using CompileFile on bootstrap will cause it to grow more rapidly..

.. also (minor) it only run on 1 core (atomic lock).. any thoughts? async lock at least would be nice.. besides that - this lib is really nice! :)

P.S. this is listed on github as C++ and not C# - think the later should take precedence..

@AndersMad
Copy link
Author

fyi: the problem is still there with v1.0.0 Alpha 1 - but it is a lot less.. 1-2 mb per call (big .scss file with about 90 imports)

@Taritsyn
Copy link
Owner

Taritsyn commented Mar 1, 2017

@AndersMad Try version 1.0.0 Beta 1 without the file manager.

@Taritsyn
Copy link
Owner

Taritsyn commented Mar 3, 2017

@AndersMad Try version 1.0.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants