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

Unwelcome Error: memory allocation failed #9729

Closed
rumbarum opened this issue Jan 31, 2024 · 1 comment
Closed

Unwelcome Error: memory allocation failed #9729

rumbarum opened this issue Jan 31, 2024 · 1 comment

Comments

@rumbarum
Copy link

ruff 0.1.13 installed by brew
MBP M1 mac 14.1.2

I am using ruff on Pycharm Filewatcher to trigger when file saved, it had been worked for 2 weeks. Now it return this error message

/opt/homebrew/bin/ruff format --config ~/ruff.toml /pycharm/file/path
memory allocation of 8751445353061442862 bytes failed

Process finished with exit code 134 (interrupted by signal 6:SIGABRT)

This is my ruff config from ~/ruff.toml,

line-length = 100
exclude = ["*/__init__.py"]

[lint]
# F=pyflakes
# I=Isort
select = ["F", "I"]

#F541 f-string without any placeholders
#F841 local variable '...' is assigned to but never used
#F403 from {name} import * used; unable to detect undefined names
#F401 '...' imported but unused --> Makefile (make ruff)에서만, 사용 강제합니다.
ignore = ["F541", "F841", "F401", "F403"]
fixable = ["ALL"]

[isort]
relative-imports-order = "closest-to-furthest"

[format]
quote-style = "double"
indent-style = "space"
line-ending = "auto"
@MichaReiser
Copy link
Member

We're sorry you're encountering this issue and the unwelcome error message.

We've been trying to identify the root cause of it in #8147 but have since been unable to reproduce it. It would be extremely helpful to us if you could share your cache state, commit version, and link to your project if it is an open source project so that we can reproduce locally and fix the issue.

I'll close this issue to track the work in #8147

@MichaReiser MichaReiser closed this as not planned Won't fix, can't repro, duplicate, stale Jan 31, 2024
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