-
-
Notifications
You must be signed in to change notification settings - Fork 925
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
Can't load many files #1591
Comments
It seems like this would be creating about 676 classes. Do you run out of memory if you don't do any class creation? How much memory do you allot to your jvm? |
I was trying on the JVM 8 so I don't think this is related to memory allocated on the jvm. I haven't tried yet to load the files without creating classes... |
Sorry, it seems jruby uses the information in $JAVA_HOME when available to set which Java to run instead of which java is on the path, so But on 1.8 it just took longer to get to the same results:
With MRI it just takes 13s:
|
must have been related to a leak ... on recent JRuby works fine, just tried master and got :
|
I was having an interesting discussion with Myron Marston about
autoload
and about how fastrequire
is, and while trying to perform my tests with JRuby I got this error:The original discussion is here:
rspec/rspec-rails#975
The code that generates the lib files is this:
MRI runs it just fine in about 6s in my computer.
The text was updated successfully, but these errors were encountered: