-
Notifications
You must be signed in to change notification settings - Fork 188
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
Hanging on processing #201
Comments
@mkstvnsn can you please attach the file on which CSSO hangs? |
I'm seeing this issue too on a 2600 line fine (one of those, "each selector and rules on one line only" deals). Since the line it errors on jumps around based on various things (although seemingly always before an |
The errors were much earlier than the line stated, running through CSSLint shed some light on the issue. |
@josx your file is really huge – it's about 3.7Mb and any tool has trouble with it. Moreover I found 1 (!!) rule that takes 2.1Mb (56% of file) and contains 20873 selectors to set single property |
@lahmatiy thanks a lot! |
@josx Good news: reworked version of compressor ( |
good catch! thanks a lot! |
I'll do when new release is out. |
Also I see some places for optimisations that could help drop time down. Stay tuned ;) |
csso 1.5 is out, problem fixed. |
@lahmatiy |
csso 1.6 is out |
Excellent project. I'm having an issue with the optimizer hanging when more data is inputted. Trying to determine the maximum but it appears after either a certain character count or if the program is hitting "something" it fails to deliver a result. Has anyone else experienced this?
It works fine if I drop in chunks of ~250-300 lines of CSS, but after that it does not work for me. Of course the power in this would be making large CSS files smaller... Any advice?
Thank you!
The text was updated successfully, but these errors were encountered: