big projects
My project has 200 models and 500 controllers. When you start rubymine it shows error and unable to make any auto-complete. If you try to create a diagram models it just hangs.
Error opening the rubymine:
java.lang.StackOverflowError
at java.util.ArrayList.get(ArrayList.java:322)
at java.util.AbstractList$Itr.next(AbstractList.java:345)
Error when the auto-complete
java.lang.StackOverflowError
at java.util.AbstractList$Itr.<init>(AbstractList.java:318)
at java.util.AbstractList.iterator(AbstractList.java:273)
Rubymine is ready for large projects?
Tank's
Alexandre Riveira
Attachment(s):
memory_leaks.png
model_diagram.png
auto_complete.png
open_project.png
请先登录再写评论。
Hello Alexandre,
Could you please attach here RubyMine log file?
Logs can be found at $HOME$/.RubyMine10/system/logs
Thanks,
Oleg
Do we have any chance to see the content of file where you got such an exception on autocompletion?
Thanks,
Oleg
Send logs
Alexandre Riveira
www.objecttraining.com.br
Attachment(s):
log.zip
Hello Alexandre,
You can upload the project to ftp.intellij.net/.uploads which is write-only
for everyone outside the company. We'll remove the project from the FTP as
soon as you let us know it's uploaded, and will not distribute it outside
of the RubyMine team.
--
Dmitry Jemerov
Development Lead
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"
What are your JVM settings? They can be found at ${RubyMine Installation Folder}/bin/rubymine.vmoptions
Thanks,
Oleg
[alexandre@viper ~]$ java -version
java version "1.6.0_13"
Java(TM) SE Runtime Environment (build 1.6.0_13-b03)
Java HotSpot(TM) Client VM (build 11.3-b02, mixed mode, sharing)
OS Centos 5.3
Attachment(s):
rubymine.vmoptions
Hello Alexandre,
Thanks a lot for the issue, we've managed to reproduce this problem and have already fixed it.The problem was related to the size of your migration files.
Fixed version coming soon.
We strongly recommend you to increase your rubymine.vmoptions Xmx value to avoid extra GC calls.
With best regards,
Oleg
I will be hitting my settings as you recommended.
One question, as the model diagram is to include projects with 200 or more models. He will not be large enough to point to stop the IDE?
I delete from migrations for test. Auto-compelte returned to work. However, no complete database attributes. It would be better if based on schema.rb instead of migrations?
If the project does not have a schema.rb created or updated a pop could ask. Want to create your schema.rb and run the RubyMine for this task order
Hello Alexandre,
No, it won't stop the IDE. Fixed version works fine even with default memory settings.
Regards,
Oleg
Sounds resonable, maybe we'll extract types of models.
I've filled an issue: http://www.jetbrains.net/jira/browse/RUBY-3851
Feel free to comment, vote and track progress of it.
Best regards,
Oleg
I tested from RubyMine 1.0 final.
Is perfect !
Congratulations!
Alexandre Riveira
www.objecttraining.com.br
Develop with pleasure