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

Zstream outside ocaml heap #2

Merged
merged 2 commits into from
Jan 23, 2017
Merged

Zstream outside ocaml heap #2

merged 2 commits into from
Jan 23, 2017

Conversation

einars
Copy link
Contributor

@einars einars commented Jan 17, 2017

Use malloc'ed data in a custom wrapper to avoid reallocating the structure (fixes #1)

@xavierleroy
Copy link
Owner

Merging right now. Then I'll change malloc/free to caml_stat_alloc/caml_stat_free to get proper out-of-memory detection.

@xavierleroy xavierleroy merged commit 38ff28a into xavierleroy:master Jan 23, 2017
@einars einars deleted the zstream-outside-ocaml-heap branch January 23, 2017 18:13
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.

Random read_entry "decompression error" exception with zlib 1.2.9+
2 participants