-
Notifications
You must be signed in to change notification settings - Fork 873
don't let libc abort it #21766
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
don't let libc abort it #21766
Conversation
lib/Basics/PhysicalMemory.cpp
Outdated
| std::cerr | ||
| << "failed to parse ARANGODB_OVERRIDE_DETECTED_TOTAL_MEMORY: " | ||
| << value << std::endl; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We can't use the logger here, that's a problem that should be solved. But not in this PR. Would you be so kind to open a BTS ticket, so we can address this later?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Co-authored-by: Tobias Gödderz <tobias@arangodb.com>
Co-authored-by: Tobias Gödderz <tobias@arangodb.com>
Scope & Purpose
in case we fail to parse the environment variable bail out with a meaningfull error message instead of throwing uncaught.