Make sure you are increasing the Java memory to allow the tests to
run. I think they need at least a 1G to run without a memory error. If
you still run into an issue with the increased java heap memory, then
log an issue. It will need more investigation.

On Mon, May 9, 2016 at 2:42 PM, Menaka Madushanka <[email protected]> wrote:
> 4GB Ram
>
> On 9 May 2016 at 20:01, Steven Jacobs <[email protected]> wrote:
>
>> How much memory does the machine have?
>> Steven
>>
>> On Mon, May 9, 2016 at 1:42 AM, Menaka Madushanka <[email protected]>
>> wrote:
>>
>> > Hello,
>> >
>> > When I build the vxquery-xtest, I got following OutOfMemory error.
>> >
>> > Exception in thread "Thread-1177" Exception in thread "Thread-1170"
>> > java.lang.OutOfMemoryError: Java heap space
>> > at
>> >
>> >
>> org.apache.maven.surefire.booter.ForkingRunListener.writeTestOutput(ForkingRunListener.java:167)
>> > at
>> >
>> >
>> org.apache.maven.surefire.report.ConsoleOutputCapture$ForwardingPrintStream.write(ConsoleOutputCapture.java:56)
>> > at sun.nio.cs.StreamEncoder.writeBytes(StreamEncoder.java:221)
>> > at sun.nio.cs.StreamEncoder.implFlushBuffer(StreamEncoder.java:291)
>> > at sun.nio.cs.StreamEncoder.implFlush(StreamEncoder.java:295)
>> > at sun.nio.cs.StreamEncoder.flush(StreamEncoder.java:141)
>> > at java.io.OutputStreamWriter.flush(OutputStreamWriter.java:229)
>> > at java.util.logging.StreamHandler.flush(StreamHandler.java:259)
>> > at java.util.logging.ConsoleHandler.publish(ConsoleHandler.java:117)
>> > at java.util.logging.Logger.log(Logger.java:738)
>> > at java.util.logging.Logger.doLog(Logger.java:765)
>> > at java.util.logging.Logger.log(Logger.java:788)
>> > at java.util.logging.Logger.info(Logger.java:1489)
>> > at
>> >
>> >
>> org.apache.hyracks.control.nc.work.StartTasksWork.run(StartTasksWork.java:162)
>> > at
>> >
>> >
>> org.apache.hyracks.control.common.work.WorkQueue$WorkerThread.run(WorkQueue.java:126)
>> > java.lang.OutOfMemoryError: Java heap space
>> > at java.nio.HeapByteBuffer.<init>(HeapByteBuffer.java:57)
>> > at java.nio.ByteBuffer.allocate(ByteBuffer.java:335)
>> > at
>> >
>> >
>> org.apache.hyracks.control.nc.resources.memory.FrameManager.allocateFrame(FrameManager.java:52)
>> > at org.apache.hyracks.control.nc.Joblet.allocateFrame(Joblet.java:236)
>> > at org.apache.hyracks.control.nc.Task.allocateFrame(Task.java:129)
>> > at org.apache.hyracks.api.comm.VSizeFrame.<init>(VSizeFrame.java:43)
>> > at org.apache.hyracks.api.comm.VSizeFrame.<init>(VSizeFrame.java:37)
>> > at
>> >
>> >
>> org.apache.hyracks.dataflow.std.join.OptimizedHybridHashJoin.initBuild(OptimizedHybridHashJoin.java:190)
>> > at
>> >
>> >
>> org.apache.hyracks.dataflow.std.join.OptimizedHybridHashJoinOperatorDescriptor$PartitionAndBuildActivityNode$1.open(OptimizedHybridHashJoinOperatorDescriptor.java:306)
>> > at org.apache.hyracks.control.nc.Task.pushFrames(Task.java:334)
>> > at org.apache.hyracks.control.nc.Task.run(Task.java:290)
>> > 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)
>> > Exception in thread "Thread-1179" java.lang.OutOfMemoryError: Java heap
>> > space
>> > at java.nio.HeapByteBuffer.<init>(HeapByteBuffer.java:57)
>> > at java.nio.ByteBuffer.allocate(ByteBuffer.java:335)
>> > at
>> >
>> >
>> org.apache.hyracks.control.nc.resources.memory.FrameManager.allocateFrame(FrameManager.java:52)
>> > at org.apache.hyracks.control.nc.Joblet.allocateFrame(Joblet.java:236)
>> > at org.apache.hyracks.control.nc.Task.allocateFrame(Task.java:129)
>> > at org.apache.hyracks.api.comm.VSizeFrame.<init>(VSizeFrame.java:43)
>> > at org.apache.hyracks.api.comm.VSizeFrame.<init>(VSizeFrame.java:37)
>> > at
>> >
>> >
>> org.apache.hyracks.algebricks.runtime.operators.base.AbstractOneInputOneOutputOneFramePushRuntime.initAccessAppend(AbstractOneInputOneOutputOneFramePushRuntime.java:42)
>> > at
>> >
>> >
>> org.apache.hyracks.algebricks.runtime.operators.base.AbstractOneInputOneOutputOneFramePushRuntime.initAccessAppendRef(AbstractOneInputOneOutputOneFramePushRuntime.java:48)
>> > at
>> >
>> >
>> org.apache.hyracks.algebricks.runtime.operators.std.UnnestRuntimeFactory$1.open(UnnestRuntimeFactory.java:99)
>> > at
>> >
>> >
>> org.apache.hyracks.algebricks.runtime.operators.std.NestedTupleSourceRuntimeFactory$NestedTupleSourceRuntime.open(NestedTupleSourceRuntimeFactory.java:54)
>> > at
>> >
>> >
>> org.apache.hyracks.algebricks.runtime.operators.meta.SubplanRuntimeFactory$1.nextFrame(SubplanRuntimeFactory.java:163)
>> > at
>> >
>> >
>> org.apache.hyracks.dataflow.common.comm.io.AbstractFrameAppender.flush(AbstractFrameAppender.java:83)
>> > at
>> >
>> >
>> org.apache.hyracks.algebricks.runtime.operators.base.AbstractOneInputOneOutputOneFramePushRuntime.flushAndReset(AbstractOneInputOneOutputOneFramePushRuntime.java:60)
>> > at
>> >
>> >
>> org.apache.hyracks.algebricks.runtime.operators.base.AbstractOneInputOneOutputOneFramePushRuntime.flushIfNotFailed(AbstractOneInputOneOutputOneFramePushRuntime.java:66)
>> > at
>> >
>> >
>> org.apache.hyracks.algebricks.runtime.operators.base.AbstractOneInputOneOutputOneFramePushRuntime.close(AbstractOneInputOneOutputOneFramePushRuntime.java:54)
>> > at
>> >
>> >
>> org.apache.hyracks.algebricks.runtime.operators.base.AbstractOneInputOneOutputOneFramePushRuntime.close(AbstractOneInputOneOutputOneFramePushRuntime.java:55)
>> > at
>> >
>> >
>> org.apache.hyracks.algebricks.runtime.operators.base.AbstractOneInputOneOutputOneFramePushRuntime.close(AbstractOneInputOneOutputOneFramePushRuntime.java:55)
>> > at
>> >
>> >
>> org.apache.hyracks.algebricks.runtime.operators.meta.AlgebricksMetaOperatorDescriptor$2.close(AlgebricksMetaOperatorDescriptor.java:145)
>> > at
>> >
>> >
>> org.apache.vxquery.metadata.VXQueryCollectionOperatorDescriptor$1.close(VXQueryCollectionOperatorDescriptor.java:125)
>> > at
>> >
>> >
>> org.apache.hyracks.algebricks.runtime.operators.std.EmptyTupleSourceRuntimeFactory$1.open(EmptyTupleSourceRuntimeFactory.java:56)
>> > at
>> >
>> >
>> org.apache.hyracks.algebricks.runtime.operators.meta.AlgebricksMetaOperatorDescriptor$1.initialize(AlgebricksMetaOperatorDescriptor.java:108)
>> > at
>> >
>> >
>> org.apache.hyracks.api.rewriter.runtime.SuperActivityOperatorNodePushable.initialize(SuperActivityOperatorNodePushable.java:85)
>> > at org.apache.hyracks.control.nc.Task.run(Task.java:255)
>> > 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)
>> >
>> > I changed the maxmemory values in pom.xml but result is the same.
>> >
>> >
>> > On 9 May 2016 at 04:36, Menaka Madushanka <[email protected]> wrote:
>> >
>> > > Thanks Preston. I'll work on this.
>> > >
>> > > On 8 May 2016 at 23:01, Preston Carman <[email protected]> wrote:
>> > >
>> > >> Check out our issue list and search for issues with the label
>> "starter".
>> > >>
>> > >> One suggestion would be issue 191 [1]. It recently came up and should
>> > >> be a simple fix. Our test suite is create a text file that needs be
>> > >> sorted. This would be a simple issue that will help you understand our
>> > >> code review process and how to update documentation.
>> > >>
>> > >> [1] https://issues.apache.org/jira/browse/VXQUERY-191
>> > >>
>> > >>
>> > >> On Sat, May 7, 2016 at 5:37 AM, Menaka Madushanka <
>> > [email protected]>
>> > >> wrote:
>> > >> > Sure Steven. I'll try it.
>> > >> >
>> > >> > On 7 May 2016 at 02:15, Steven Jacobs <[email protected]> wrote:
>> > >> >
>> > >> >> Menaka-
>> > >> >> I have been working through this branch this week, and I am
>> planning
>> > to
>> > >> >> have it reviewed and committed to Master during next week. If you
>> > would
>> > >> >> like some experience with the codebase in the meantime, we can
>> > >> recommend a
>> > >> >> simple JIRA issue that you could look at to gain the coding
>> > experience.
>> > >> >> Steven
>> > >> >>
>> > >> >>
>> > >> >> On Mon, May 2, 2016 at 8:35 AM, Menaka Madushanka <
>> > >> [email protected]>
>> > >> >> wrote:
>> > >> >>
>> > >> >>> Ok Steven.
>> > >> >>>
>> > >> >>> Thank you very much
>> > >> >>>
>> > >> >>> On 2 May 2016 at 20:57, Steven Jacobs <[email protected]> wrote:
>> > >> >>>
>> > >> >>> > Hi Menaka,
>> > >> >>> > I'm still working through getting this branch up to date with
>> > master
>> > >> >>> > and camera-ready. I'll email you later this week with an update.
>> > >> >>> > Steven
>> > >> >>> >
>> > >> >>> >
>> > >> >>> > On Monday, May 2, 2016, Menaka Madushanka <
>> [email protected]>
>> > >> >>> wrote:
>> > >> >>> >
>> > >> >>> >> Hello,
>> > >> >>> >>
>> > >> >>> >> I'm currently going through some Apace Lucene tutorials.
>> > >> >>> >> I have already cloned the repo, built it and ran a query as
>> there
>> > >> in
>> > >> >>> >> documentation.
>> > >> >>> >>
>> > >> >>> >> I need to know the branch where the current lucene
>> implementation
>> > >> has
>> > >> >>> >> done.
>> > >> >>> >>
>> > >> >>> >> Thank you very much
>> > >> >>> >> Menaka
>> > >> >>> >>
>> > >> >>> >> --
>> > >> >>> >> *Menaka Madushanka Jayawardena*
>> > >> >>> >> Faculty of Engineering, <http://www.pdn.ac.lk/eng>
>> > >> >>> >> University of Peradeniyaya.
>> > >> >>> >> LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
>> > >> >>> >> TP:- 071 885 1183/ 071 350 5470
>> > >> >>> >>
>> > >> >>> >
>> > >> >>>
>> > >> >>>
>> > >> >>> --
>> > >> >>> *Menaka Madushanka Jayawardena*
>> > >> >>> Faculty of Engineering, <http://www.pdn.ac.lk/eng>
>> > >> >>> University of Peradeniyaya.
>> > >> >>> LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
>> > >> >>> TP:- 071 885 1183/ 071 350 5470
>> > >> >>>
>> > >> >>
>> > >> >>
>> > >> >
>> > >> >
>> > >> > --
>> > >> > *Menaka Madushanka Jayawardena*
>> > >> > Faculty of Engineering, <http://www.pdn.ac.lk/eng>
>> > >> > University of Peradeniyaya.
>> > >> > LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
>> > >> > TP:- 071 885 1183/ 071 350 5470
>> > >>
>> > >
>> > >
>> > >
>> > > --
>> > > *Menaka Madushanka Jayawardena*
>> > > Faculty of Engineering, <http://www.pdn.ac.lk/eng>
>> > > University of Peradeniyaya.
>> > > LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
>> > > TP:- 071 885 1183/ 071 350 5470
>> > >
>> >
>> >
>> >
>> > --
>> > *Menaka Madushanka Jayawardena*
>> > Faculty of Engineering, <http://www.pdn.ac.lk/eng>
>> > University of Peradeniyaya.
>> > LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
>> > TP:- 071 885 1183/ 071 350 5470
>> >
>>
>
>
>
> --
> *Menaka Madushanka Jayawardena*
> Faculty of Engineering, <http://www.pdn.ac.lk/eng>
> University of Peradeniyaya.
> LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
> TP:- 071 885 1183/ 071 350 5470

Reply via email to