java.lang.OutOfMemoryError

Java heap space

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web129

  • via Unknown by Olof Hellqvist,
  • via Unknown by Unknown author,
  • Stack trace

    • java.lang.OutOfMemoryError: Java heap space at java.nio.HeapByteBuffer.<init>(HeapByteBuffer.java:57)[na:1.7.0_75] at java.nio.ByteBuffer.allocate(ByteBuffer.java:331)[na:1.7.0_75] at java.nio.charset.CharsetEncoder.encode(CharsetEncoder.java:792)[na:1.7.0_75] at java.nio.charset.Charset.encode(Charset.java:842)[na:1.7.0_75] at java.nio.charset.Charset.encode(Charset.java:865)[na:1.7.0_75] at org.jruby.RubyEncoding.encode(RubyEncoding.java:236)[puppet-server-release.jar:na] at org.jruby.RubyString.encodeBytelist(RubyString.java:7684)[puppet-server-release.jar:na] at org.jruby.RubyString.<init>(RubyString.java:414)[puppet-server-release.jar:na] at org.jruby.RubyString.newString(RubyString.java:508)[puppet-server-release.jar:na] at org.jruby.Ruby.newString(Ruby.java:3378)[puppet-server-release.jar:na] at org.jruby.RubyBasicObject.hashyInspect(RubyBasicObject.java:1020)[puppet-server-release.jar:na] at org.jruby.RubyBasicObject.inspect(RubyBasicObject.java:999)[puppet-server-release.jar:na] at org.jruby.RubyKernel.inspect(RubyKernel.java:2107)[puppet-server-release.jar:na] at org.jruby.RubyKernel$INVOKER$s$0$0$inspect.call(RubyKernel$INVOKER$s$0$0$inspect.gen)[puppet-server-release.jar:na] at org.jruby.runtime.Helpers.invokedynamic(Helpers.java:2798)[puppet-server-release.jar:na] at org.jruby.RubyBasicObject.inspectObj(RubyBasicObject.java:1052)[puppet-server-release.jar:na] at org.jruby.RubyBasicObject.hashyInspect(RubyBasicObject.java:1020)[puppet-server-release.jar:na] at org.jruby.RubyBasicObject.inspect(RubyBasicObject.java:999)[puppet-server-release.jar:na] at org.jruby.RubyKernel.inspect(RubyKernel.java:2107)[puppet-server-release.jar:na] at org.jruby.RubyKernel$INVOKER$s$0$0$inspect.call(RubyKernel$INVOKER$s$0$0$inspect.gen)[puppet-server-release.jar:na] at org.jruby.runtime.Helpers.invokedynamic(Helpers.java:2798)[puppet-server-release.jar:na] at org.jruby.RubyBasicObject.inspectObj(RubyBasicObject.java:1052)[puppet-server-release.jar:na] at org.jruby.RubyBasicObject.hashyInspect(RubyBasicObject.java:1020)[puppet-server-release.jar:na] at org.jruby.RubyBasicObject.inspect(RubyBasicObject.java:999)[puppet-server-release.jar:na] at org.jruby.RubyKernel.inspect(RubyKernel.java:2107)[puppet-server-release.jar:na] at org.jruby.RubyKernel$INVOKER$s$0$0$inspect.call(RubyKernel$INVOKER$s$0$0$inspect.gen)[puppet-server-release.jar:na] at org.jruby.runtime.Helpers.invokedynamic(Helpers.java:2798)[puppet-server-release.jar:na] at org.jruby.RubyBasicObject.inspectObj(RubyBasicObject.java:1052)[puppet-server-release.jar:na] at org.jruby.RubyBasicObject.hashyInspect(RubyBasicObject.java:1020)[puppet-server-release.jar:na] at org.jruby.RubyBasicObject.inspect(RubyBasicObject.java:999)[puppet-server-release.jar:na] at org.jruby.RubyKernel.inspect(RubyKernel.java:2107)[puppet-server-release.jar:na] at org.jruby.RubyKernel$INVOKER$s$0$0$inspect.call(RubyKernel$INVOKER$s$0$0$inspect.gen)[puppet-server-release.jar:na]

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    tyson925tyson925
    3 times, last one
    rprp
    Once,
    Unknown visitor
    Unknown visitorOnce,
    rexgreenzarexgreenza
    Once,
    Unknown visitor
    Unknown visitorOnce,
    12 more bugmates