Re: OutOfMemoryError when running sbt/sbt test

2014-08-26 Thread Anand Avati
Hi Jay, The recommended way to build spark from source is through the maven system. You would want to follow the steps in https://spark.apache.org/docs/latest/building-with-maven.html to set the MAVEN_OPTS to prevent OOM build errors. Thanks On Tue, Aug 26, 2014 at 5:49 PM, jay vyas wrote: > H

Re: OutOfMemoryError when running sbt/sbt test

2014-08-26 Thread Jay Vyas
Thanks...! Some questions below. 1) you are suggesting that maybe this OOME is a symptom/red herring , and the true cause of it is that a thread can't span because of ulimit... If so possibly this could be flagged early on in the build. And -- where are so many threads coming from that I need

Re: OutOfMemoryError when running sbt/sbt test

2014-08-26 Thread Mubarak Seyed
What is your ulimit value? On Tue, Aug 26, 2014 at 5:49 PM, jay vyas wrote: > Hi spark. > > I've been trying to build spark, but I've been getting lots of oome > exceptions. > > https://gist.github.com/jayunit100/d424b6b825ce8517d68c > > For the most part, they are of the form: > > java.lang.Ou

OutOfMemoryError when running sbt/sbt test

2014-08-26 Thread jay vyas
Hi spark. I've been trying to build spark, but I've been getting lots of oome exceptions. https://gist.github.com/jayunit100/d424b6b825ce8517d68c For the most part, they are of the form: java.lang.OutOfMemoryError: unable to create new native thread I've attempted to hard code the "get_mem_opt