Skip to content

Instantly share code, notes, and snippets.

@kattrali
Created October 30, 2010 15:48
Show Gist options
  • Save kattrali/655429 to your computer and use it in GitHub Desktop.
Save kattrali/655429 to your computer and use it in GitHub Desktop.
after searching a huge repo
Exception in thread "Thread-10" java.lang.OutOfMemoryError: Java heap space
at org.jruby.util.ByteList.<init>(ByteList.java:91)
at org.jruby.util.io.ChannelStream.readall(ChannelStream.java:365)
at org.jruby.RubyIO.readAll(RubyIO.java:2825)
at org.jruby.RubyIO.read(RubyIO.java:2641)
at org.jruby.RubyIO.read(RubyIO.java:3327)
at org.jruby.RubyIO$s_method_multi$RUBYINVOKER$read.call(org/jruby/RubyIO$s_method_multi$RUBYINVOKER$read.gen:65535)
at org.jruby.internal.runtime.methods.JavaMethod$JavaMethodOneOrTwoOrThreeBlock.call(JavaMethod.java:548)
at org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.java:160)
at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:66)
at ruby.jit.read_15AD46308DD23AA455D56CE44B604209E4B1EEBB.__file__(pathname.rb:766)
at ruby.jit.read_15AD46308DD23AA455D56CE44B604209E4B1EEBB.__file__(pathname.rb)
at org.jruby.ast.executable.AbstractScript.__file__(AbstractScript.java:35)
at org.jruby.internal.runtime.methods.JittedMethod.call(JittedMethod.java:119)
at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:106)
at org.jruby.ast.CallNoArgNode.interpret(CallNoArgNode.java:61)
at org.jruby.ast.CallNoArgNode.interpret(CallNoArgNode.java:61)
at org.jruby.ast.OrNode.interpret(OrNode.java:97)
at org.jruby.ast.OrNode.interpret(OrNode.java:94)
at org.jruby.ast.OrNode.interpret(OrNode.java:94)
at org.jruby.ast.IfNode.interpret(IfNode.java:111)
at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
at org.jruby.ast.BlockNode.interpret(BlockNode.java:71)
at org.jruby.ast.IfNode.interpret(IfNode.java:119)
at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
at org.jruby.ast.BlockNode.interpret(BlockNode.java:71)
at org.jruby.runtime.InterpretedBlock.evalBlockBody(InterpretedBlock.java:373)
at org.jruby.runtime.InterpretedBlock.yield(InterpretedBlock.java:346)
at org.jruby.runtime.InterpretedBlock.yield(InterpretedBlock.java:303)
at org.jruby.runtime.Block.yield(Block.java:194)
at org.jruby.RubyArray.eachCommon(RubyArray.java:1630)
at org.jruby.RubyArray.each(RubyArray.java:1637)
at org.jruby.RubyArray$i_method_0_0$RUBYFRAMEDINVOKER$each.call(org/jruby/RubyArray$i_method_0_0$RUBYFRAMEDINVOKER$each.gen:65535)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment