proc extension problems

43 views
Skip to first unread message

Maksym Melnychok

unread,
Mar 22, 2012, 7:00:55 AM3/22/12
to rubyonra...@googlegroups.com
Hi guys,


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

Best Regards,
MM

Sky Faber

unread,
Mar 22, 2012, 10:39:11 AM3/22/12
to rubyonra...@googlegroups.com

This seems like a known problem with ruby.

I found this old discussion of the issue back from 2008.

http://www.ruby-forum.com/topic/173699

-Sky

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group.
To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-core/-/mys8W5xHmsUJ.
To post to this group, send email to rubyonra...@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-co...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-core?hl=en.

Maksym Melnychok

unread,
Mar 23, 2012, 7:12:06 AM3/23/12
to rubyonra...@googlegroups.com, skyf...@gmail.com
yeah, i saw that. i actually found why exactly this problem happens - new symbol is generated every time a named scope is called which was defined on ActiveRecord::Base


On Thursday, March 22, 2012 3:39:11 PM UTC+1, Sky Faber wrote:

This seems like a known problem with ruby.

I found this old discussion of the issue back from 2008.

http://www.ruby-forum.com/​topic/173699

-Sky

On Mar 22, 2012 4:00 AM, "Maksym Melnychok" <key...@gmail.com> wrote:
Hi guys,


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

Best Regards,
MM

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group.
To view this discussion on the web visit https://groups.google.com/d/​msg/rubyonrails-core/-/​mys8W5xHmsUJ.
To post to this group, send email to rubyonrails-core@googlegroups.​com.
To unsubscribe from this group, send email to rubyonrails-core+unsubscribe@​googlegroups.com.
Reply all
Reply to author
Forward
0 new messages