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

Stop leaking memory during serialization (issue #1413) #1414

Merged
merged 1 commit into from
Nov 11, 2016

Conversation

SeanTAllen
Copy link
Member

Prior to this commit, serializing a pony object would leak memory.
By using "pool alloc" rather than "pony alloc", we were directly
allocating memory that would need to be manually freed. What we
wanted to do was use "pony alloc" so that the GC would track
usage of the memory and free it when needed.

Prior to this commit, serializing a pony object would leak memory.
By using "pool alloc" rather than "pony alloc", we were directly
allocating memory that would need to be manually freed. What we
wanted to do was use "pony alloc" so that the GC would track
usage of the memory and free it when needed.
@SeanTAllen SeanTAllen added changelog - fixed Automatically add "Fixed" CHANGELOG entry on merge triggers release Major issue that when fixed, results in an "emergency" release labels Nov 11, 2016
@SeanTAllen
Copy link
Member Author

This fixes #1413

@jemc jemc changed the title Stop leaking memory during serialization Stop leaking memory during serialization (issue #1413) Nov 11, 2016
@jemc jemc merged commit 9442321 into master Nov 11, 2016
ponylang-main added a commit that referenced this pull request Nov 11, 2016
@jemc jemc deleted the serialization-memory-leak branch November 11, 2016 20:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
changelog - fixed Automatically add "Fixed" CHANGELOG entry on merge triggers release Major issue that when fixed, results in an "emergency" release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants