Issue Type: Bug Bug
Affects Versions: JRuby 1.7.0.RC1
Assignee: Unassigned
Components: Core Classes/Modules
Created: 06/Oct/12 7:30 PM
Description:

jruby leaks symbols:

$ ruby --version
jruby 1.7.0.RC1 (1.9.3p203) 2012-10-06 002134a on Java HotSpot(TM) 64-Bit Server VM 1.7.0_07-b10 [darwin-x86_64]

$ ruby -e 'i = 0; loop { x = "sym#{i}".to_sym; i += 1 }'
Error: Your application used more memory than the safety cap of 500M.
Specify -J-Xmx####m to increase it (#### = cap size in MB).
Specify -w for full OutOfMemoryError stack trace

I suspect this is what is causing mongoid to leak memory. See https://github.com/mongoid/mongoid/issues/2439 . I've seen throughput on my rails app degrade by half and memory usage go up by multiple gigabytes after several hours.

Environment: jruby 1.7.0.RC1 (1.9.3p203) 2012-10-06 002134a on Java HotSpot(TM) 64-Bit Server VM 1.7.0_07-b10 [darwin-x86_64]
Project: JRuby
Priority: Critical Critical
Reporter: Tim Olsen
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira
--------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email

Reply via email to