Gem update problem: computer stalls

View: New views
4 Messages — Rating Filter:   Alert me  

Gem update problem: computer stalls

by F2Andy :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Just recently NetBeans has started to stall when I open the "Ruby Gems" dialogue, and it tries to update the list, and memory useage goes up to around 500 to 700 MB. Even after 20 minutes, the update has not completed. I do not think I have not made any changes except that NetBeans has been updated, so I am suspicious it is NetBeans at fault.

I am using
Product Version: NetBeans IDE 6.1 (Build 200804211638)
Java: 1.6.0_03; Java HotSpot(TM) Client VM 1.6.0_03-b05

Re: Gem update problem: computer stalls

by Chris Kutler :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Andy,

I think that the problem is not with the NetBeans upgrade but with the
JRuby upgrade (http://jira.codehaus.org/browse/JRUBY-2684).

Go to http://wiki.netbeans.org/RubyFAQ and click on the Troubleshooting
link in the table of contents. There is an entry there for I'm getting
OutOfMemoryError when using Gem Manager.

When you run into problems with the NetBeans GUI wrappers for Ruby and
Rails command line actions, I find it useful to open a terminal window
and trying the command at that level to see if the problem is with the
interpreter/rails version or with the IDE.

The "I just updated my Ruby/Rails/Gem version and I am having problems.
What do I do?" faq explains how to do this.


F2Andy wrote:

> Just recently NetBeans has started to stall when I open the "Ruby Gems"
> dialogue, and it tries to update the list, and memory useage goes up to
> around 500 to 700 MB. Even after 20 minutes, the update has not completed. I
> do not think I have not made any changes except that NetBeans has been
> updated, so I am suspicious it is NetBeans at fault.
>
> I am using
> Product Version: NetBeans IDE 6.1 (Build 200804211638)
> Java: 1.6.0_03; Java HotSpot(TM) Client VM 1.6.0_03-b05
>  

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...


Re: Gem update problem: computer stalls

by Martin Krauskopf :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

F2Andy wrote:
> Just recently NetBeans has started to stall when I open the "Ruby Gems"
> dialogue, and it tries to update the list, and memory useage goes up to
> around 500 to 700 MB. Even after 20 minutes, the update has not completed. I
> do not think I have not made any changes except that NetBeans has been
> updated, so I am suspicious it is NetBeans at fault.
>
> I am using
> Product Version: NetBeans IDE 6.1 (Build 200804211638)
> Java: 1.6.0_03; Java HotSpot(TM) Client VM 1.6.0_03-b05

Hi Andy,

according to Chris' advice, I've also creating a troubleshooting FAQ for
this:

http://wiki.netbeans.org/RubyGems#section-RubyGems-GemsFetchingTakesForever

I think this could be the problem (RubyGems <1.2.0, see the FAQ). Let us
know if not.

Thanks,
        m.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...


Re: Gem update problem: computer stalls

by F2Andy :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Yes, you are right. It does the same from the command line, so it is JRuby 1.1.4. Thanks for the help.
Chris Kutler wrote:
I think that the problem is not with the NetBeans upgrade but with the
JRuby upgrade (http://jira.codehaus.org/browse/JRUBY-2684).

Go to http://wiki.netbeans.org/RubyFAQ and click on the Troubleshooting
link in the table of contents. There is an entry there for I'm getting
OutOfMemoryError when using Gem Manager.