Please use the Apache issue tracking system for new NetBeans issues ( !!

Bug 124622

Summary: Ruby Gems error
Product: ruby Reporter: chrisbenson <chrisbenson>
Component: GemsAssignee: Martin Krauskopf <mkrauskopf>
Status: RESOLVED DUPLICATE QA Contact: issues <>
Priority: P3    
Version: 6.x   
Target Milestone: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Report:

Description chrisbenson 2008-01-03 04:00:18 UTC
When I try to use Ruby Gems from within Netbeans, I get this exception, and don't know how to fix it:

Bulk updating Gem source index for:
Exception in thread "main" java.lang.OutOfMemoryError: Java heap space
	at org.jruby.util.ByteList.grow(
	at org.jruby.util.ByteList.append(
	at org.jruby.util.ByteList.append(
	at org.jvyamlb.ScannerImpl.update(
	at org.jvyamlb.ScannerImpl.ensure(
	at org.jvyamlb.ScannerImpl.scanLineBreak(
	at org.jvyamlb.ScannerImpl.scanToNextToken(
	at org.jvyamlb.ScannerImpl.fetchMoreTokens(
	at org.jvyamlb.ScannerImpl.peekToken(
	at org.jvyamlb.ParserImpl$ProductionEnvironment.produce(
	at org.jvyamlb.ParserImpl.parseStreamNext(
	at org.jvyamlb.ParserImpl.peekEvent(
	at org.jvyamlb.ComposerImpl.composeNode(
	at org.jvyamlb.ComposerImpl.composeNode(
	at org.jvyamlb.ComposerImpl.composeNode(
	at org.jvyamlb.ComposerImpl.composeDocument(
	at org.jvyamlb.ComposerImpl.getNode(
	at org.jvyamlb.BaseConstructorImpl.getData(
	at org.jruby.RubyYAML.load(
	at Source)
	at org.jruby.runtime.callback.FastInvocationCallback.execute(
	at org.jruby.evaluator.EvaluationState.callNode(
	at org.jruby.evaluator.EvaluationState.evalInternal(
	at org.jruby.evaluator.EvaluationState.orNode(
	at org.jruby.evaluator.EvaluationState.evalInternal(
	at org.jruby.evaluator.EvaluationState.eval(
	at org.jruby.internal.runtime.methods.DefaultMethod.internalCall(
	at org.jruby.evaluator.EvaluationState.fCallNode(
	at org.jruby.evaluator.EvaluationState.evalInternal(
	at org.jruby.evaluator.EvaluationState.blockNode(
Comment 1 Martin Krauskopf 2008-01-03 14:02:38 UTC
Hi Chris. This was already fixed. See the dupe. The fix is available in 6.1 daily builds.

*** This issue has been marked as a duplicate of 122593 ***
By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2014, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo