Skip to content

Instantly share code, notes, and snippets.

@bbrowning
Created June 3, 2015 20:33
Show Gist options
  • Save bbrowning/03e65aad387c6b4623e1 to your computer and use it in GitHub Desktop.
Save bbrowning/03e65aad387c6b4623e1 to your computer and use it in GitHub Desktop.
.2015-06-03T16:28:53.502-04:00: JITCompiler: Could not compile; passes run: [org.jruby.ir.passes.OptimizeDelegationPass@6c7a3ce9, org.jruby.ir.passes.DeadCodeElimination@805d30ee, org.jruby.ir.passes.AddLocalVarLoadStoreInstructions@f8c40f9d, org.jruby.ir.passes.OptimizeDynScopesPass@f61f6f63, org.jruby.ir.passes.AddCallProtocolInstructions@87f2d916, org.jruby.ir.passes.EnsureTempsAssigned@cf6bb568]:Lexer.Parser::Lexer.advance at /home/bbrowning/src/jruby/lib/ruby/gems/shared/gems/parser-2.2.0.pre.8/lib/parser/lexer.rb:10641 because of: "Java heap space"
java.lang.OutOfMemoryError: Java heap space
at org.jruby.org.objectweb.asm.Frame.a(Unknown Source)
at org.jruby.org.objectweb.asm.MethodWriter.visitMaxs(Unknown Source)
at org.jruby.compiler.impl.SkinnyMethodAdapter.end(SkinnyMethodAdapter.java:567)
at org.jruby.ir.targets.IRBytecodeAdapter.endMethod(IRBytecodeAdapter.java:56)
at org.jruby.ir.targets.ClassData.popmethod(ClassData.java:78)
at org.jruby.ir.targets.JVM.popmethod(JVM.java:70)
at org.jruby.ir.targets.JVMVisitor.emitScope(JVMVisitor.java:195)
at org.jruby.ir.targets.JVMVisitor.emitWithSignatures(JVMVisitor.java:261)
at org.jruby.ir.targets.JVMVisitor.emitMethodJIT(JVMVisitor.java:251)
at org.jruby.ir.targets.JVMVisitor.codegenScope(JVMVisitor.java:108)
at org.jruby.ir.targets.JVMVisitor.compileToBytecode(JVMVisitor.java:73)
at org.jruby.compiler.JITCompiler$JITClassGenerator.compile(JITCompiler.java:370)
at org.jruby.compiler.JITCompiler$JITTask.run(JITCompiler.java:245)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment