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

Tests fail with out of memory error #192

Closed
grazzolini opened this issue Feb 18, 2020 · 2 comments
Closed

Tests fail with out of memory error #192

grazzolini opened this issue Feb 18, 2020 · 2 comments

Comments

@grazzolini
Copy link

I'm trying to build version 3.0.2 of python-lz4 for the Arch Linux package and the tests fail because the OOM killer is actually kicking in and killing the tests. I have attached the relevant section of the build output. This was on a machine with 128GB of RAM, so I don't think it's an actual hardware issue.

lz4-error.txt

@tSed
Copy link
Contributor

tSed commented Apr 1, 2020

@grazzolini care to test again with current master, the PR #195 may improve this point.

@grazzolini
Copy link
Author

@tSed
I have backported the commits on #195 and tried to build, but I'm still getting OOM errors.

lz4-errors.txt

tSed added a commit to tSed/python-lz4 that referenced this issue Apr 2, 2020
Using unsigned int for output buffer size avoids size over 2GB being
considered as negative, which making PyMem_Malloc() calls fail.

Fixes python-lz4#192
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