Hi,
I’ve been trying to digest a large amount of data recently and noticed the last day’s worth of data isn’t in our database. I ran the snowplow-runner-and-loader.sh bash script manually to see the error. Below is the issue.
–
(t2) DOWNLOAD snowplow-data/shredded/good/run=2016-04-26-23-00-40/atomic-events/part-00052 ±> /home/kevinharrison/postgres/run=2016-04-26-23-00-40/atomic-events/part-00052
(t1) DOWNLOAD snowplow-data/shredded/good/run=2016-04-26-23-00-40/atomic-events/part-00053 ±> /home/kevinharrison/postgres/run=2016-04-26-23-00-40/atomic-events/part-00053
+/> /home/kevinharrison/postgres/run=2016-04-26-23-00-40/atomic-events/part-00044
(t9) DOWNLOAD snowplow-data/shredded/good/run=2016-04-26-23-00-40/atomic-events/part-00054 ±> /home/kevinharrison/postgres/run=2016-04-26-23-00-40/atomic-events/part-00054
Unexpected error: Java heap space
org.jruby.util.ByteList.ensure(ByteList.java:340)
org.jruby.util.io.EncodingUtils.strBufCat(EncodingUtils.java:1042)
org.jruby.util.io.EncodingUtils.encCrStrBufCat(EncodingUtils.java:1127)
org.jruby.RubyString.cat19(RubyString.java:1389)
org.jruby.RubyString.cat19(RubyString.java:1378)
org.jruby.RubyString.append19(RubyString.java:2597)
org.jruby.RubyString.concat19(RubyString.java:2632)
org.jruby.RubyString$INVOKER$i$1$0$concat19.call(RubyString$INVOKER$i$1$0$concat19.gen)
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:168)
org.jruby.runtime.callsite.ShiftLeftCallSite.call(ShiftLeftCallSite.java:24)
org.jruby.ast.CallOneArgNode.interpret(CallOneArgNode.java:57)
org.jruby.ast.NewlineNode.interpret(NewlineNode.java:105)
org.jruby.ast.BlockNode.interpret(BlockNode.java:71)
org.jruby.ast.WhileNode.interpret(WhileNode.java:131)
org.jruby.ast.NewlineNode.interpret(NewlineNode.java:105)
org.jruby.ast.IfNode.interpret(IfNode.java:118)
org.jruby.ast.NewlineNode.interpret(NewlineNode.java:105)
org.jruby.ast.IfNode.interpret(IfNode.java:116)
org.jruby.ast.NewlineNode.interpret(NewlineNode.java:105)
org.jruby.ast.BlockNode.interpret(BlockNode.java:71)
org.jruby.ast.IfNode.interpret(IfNode.java:118)
org.jruby.ast.NewlineNode.interpret(NewlineNode.java:105)
org.jruby.ast.BlockNode.interpret(BlockNode.java:71)
org.jruby.ast.IfNode.interpret(IfNode.java:118)
org.jruby.ast.NewlineNode.interpret(NewlineNode.java:105)
org.jruby.ast.BlockNode.interpret(BlockNode.java:71)
org.jruby.evaluator.ASTInterpreter.INTERPRET_METHOD(ASTInterpreter.java:74)
org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:225)
org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:219)
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:202)
org.jruby.ast.CallTwoArgNode.interpret(CallTwoArgNode.java:59)
org.jruby.ast.LocalAsgnNode.interpret(LocalAsgnNode.java:123)
–
I believe “Unexpected error: Java heap space” is the main error here. Is there any way the heap space can be increased? Alternatively, I suppose I can scale back my event data.
Thanks,
Kevin