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

deprecate Proc#bind that can cause symbol memory leak #5552

Merged
merged 1 commit into from
Mar 22, 2012

Conversation

lest
Copy link
Contributor

@lest lest commented Mar 22, 2012

https://groups.google.com/forum/#!msg/rubyonrails-core/ucD1rQ2KbpU/mys8W5xHmsUJ

if i run my application for long enough time i start getting errors like this:

RuntimeError: symbol table overflow (symbol __bind_1328993330_18...)

apparently it's because symbols are never GCed and rails generates one every time this proc extension is used because method names are implicitly converted to symbols

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.

4 participants