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
14 comments
Comment actions Permalink

Hello Alexandre,

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?

Could you please attach here RubyMine log file?
Logs can be found at $HOME$/.RubyMine10/system/logs

Thanks,
Oleg

0
Comment actions Permalink

Do we have any chance to see the content of file where you got such an exception on autocompletion?

Thanks,
Oleg

0
Comment actions Permalink

Send logs

Alexandre Riveira
www.objecttraining.com.br



Attachment(s):
log.zip
0
Comment actions Permalink
Indeed the autocomplete have this error even before using it, just open the project to see the error. It would be necessary to send the entire project, but need some assurance that no one beyond rubymine have access to the project.


Alexandre Riveira

PS: Oleg, please contact me off-topic?
0
Comment actions Permalink

Hello Alexandre,

Indeed the autocomplete have this error even before using it, just
open the project to see the error. It would be necessary to send the
entire project, but need some assurance that no one beyond rubymine
have access to the project.


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!"


0
Comment actions Permalink

What are your JVM settings? They can be found at ${RubyMine Installation Folder}/bin/rubymine.vmoptions

Thanks,
Oleg

0
Comment actions Permalink

[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
0
Comment actions Permalink

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.

[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)

We strongly recommend you to increase your rubymine.vmoptions Xmx value to avoid extra GC calls.

With best regards,
Oleg

0
Comment actions Permalink
Thanks 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?
0
Comment actions Permalink

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

0
Comment actions Permalink

Hello Alexandre,

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?

No, it won't stop the IDE. Fixed version works fine even with default memory settings.

Regards,
Oleg

0
Comment actions Permalink
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

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

0
Comment actions Permalink

I tested from RubyMine 1.0 final.

Is perfect !
Congratulations!


Alexandre Riveira
www.objecttraining.com.br

0
Comment actions Permalink

Develop with pleasure

0

Please sign in to leave a comment.