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

Check for ByteString memory leaks #39

Closed
edsko opened this issue Sep 24, 2012 · 1 comment
Closed

Check for ByteString memory leaks #39

edsko opened this issue Sep 24, 2012 · 1 comment

Comments

@edsko
Copy link
Member

edsko commented Sep 24, 2012

Since ByteString's can point to (larger) bytestrings, it is easy to create "bytestring memory leaks". We have already fixed some of these, but there may be others.

@edsko
Copy link
Member Author

edsko commented Oct 5, 2012

We store bytestrings primarily in two locations: As PIDs and as undecoded messages. We now copy the bytestring in both those places, and moreover make sure that this copy happens eagerly. In addition, messages put into type channels are now decoded eagerly, so we don't retain bytestrings there at all.

This doesn't mean this issue is definitely completely fixed, but I'll close it until further evidence appears that there are additional leaks.

@edsko edsko closed this as completed Oct 5, 2012
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

1 participant