This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 124622 - Ruby Gems error
Summary: Ruby Gems error
Status: RESOLVED DUPLICATE of bug 122593
Alias: None
Product: ruby
Classification: Unclassified
Component: Gems (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Martin Krauskopf
Depends on:
Reported: 2008-01-03 04:00 UTC by chrisbenson
Modified: 2008-01-03 14:02 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Note You need to log in before you can comment on or make changes to this bug.
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 ***