-
Notifications
You must be signed in to change notification settings - Fork 15
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
Problem with Restyler Job #2460226 #190
Comments
Hi there- Exited 137 indicates an out-of-memory scenario. It seems clang-format is being run on the following 38 files,
And it's requiring more memory than we allow individual Restylers to consume to do so. If you'd like to continue investigating why the memory consumption is too high, I can offer some commands to run. However, it's possible we'll find that I can also offer some workarounds: You could break up the PR such that fewer files are touched at once. I wouldn't do this just to satisfy Restyled, but often it's a Good Thing to do anyway, as it results in more isolated changes that are easier to review and safer to deploy. Do all of these files need to be maintained by Restyled? I'm wondering of "examples" or "_generated" are things we can exclude from clang-format, especially if they are large files. Related, are any of these files just massive and likely the cause of the memory consumption? If so, excluding that file may be an acceptable trade-off. It's also possible a newer version of clang-format exists, which would behave better in this regard. If so, I'd be happy to update, just let me know your findings. Hope this helps. |
Hi there-
I'm having a problem with a Restyled Job
What I expected to happen:
Restyle completes
What happened instead:
Fails with an error
The text was updated successfully, but these errors were encountered: