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

Improve oom handling #2471

Merged
merged 4 commits into from
Mar 27, 2017
Merged

Improve oom handling #2471

merged 4 commits into from
Mar 27, 2017

Conversation

t-b
Copy link
Contributor

@t-b t-b commented Mar 27, 2017

I had some issues with my application built on top of libzmq in cases of on an out of memory condition. And therefore I also took a look into libzmq itself.

I've fixed a couple of places which used the throwing new version and also added a couple of forgotten asserts. Compiles and all tests pass on debian jessie x64 and x86/x64 Windows 7 with Visual Studio 2015.

t-b added 4 commits March 27, 2017 22:42
Solution: Pass (std::nothrow) as done in all other places.
Solution: Use the appropriate assertion macro.
@bluca bluca merged commit 815f412 into zeromq:master Mar 27, 2017
@t-b
Copy link
Contributor Author

t-b commented Mar 28, 2017

@bluca Thanks!

@t-b t-b deleted the improve_oom_handling branch March 28, 2017 00:43
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

Successfully merging this pull request may close these issues.

2 participants