We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
CLI: Version: 0.0.1 Color support: true Platform: CPU Architecture: aarch64 OS: macos Environment: BIOME_LOG_PATH: unset BIOME_LOG_PREFIX_NAME: unset BIOME_CONFIG_PATH: unset NO_COLOR: unset TERM: "xterm-256color" JS_RUNTIME_VERSION: unset JS_RUNTIME_NAME: unset NODE_PACKAGE_MANAGER: unset Biome Configuration: Status: Loaded successfully Formatter disabled: false Linter disabled: true Organize imports disabled: true VCS disabled: true Workspace: Open Documents: 0
The biome parser consumes a massive (infinite?) amount of memory when parsing a simple GritQL pattern like this:
fn parse_language_declaration() { let code = "language js\n"; let parse = parse_grit(code); assert!(parse.diagnostics().is_empty()); }
Notably this only happens in release builds, so it's somehow related to inlining/optimization.
This pattern should be easily parseable without using much memory at all.
The text was updated successfully, but these errors were encountered:
I'm planning to take a look / try to fix this, but I need to be careful with debugging to not trigger the memory usage myself.
Sorry, something went wrong.
grit format
see biomejs/biome#5032
978efcc
No branches or pull requests
Environment information
What happened?
The biome parser consumes a massive (infinite?) amount of memory when parsing a simple GritQL pattern like this:
Notably this only happens in release builds, so it's somehow related to inlining/optimization.
Expected result
This pattern should be easily parseable without using much memory at all.
Code of Conduct
The text was updated successfully, but these errors were encountered: