I will try this thanks for that value I will check mine, i got it to build by commenting out those tests.
On Mon, Nov 26, 2018 at 3:14 PM Serge Huber <shu...@apache.org> wrote: > Did you try rebooting ? Running out of native threads seems like an OS > limit. > > Btw my value is here : > sysctl kern.num_threads > kern.num_threads: 40960 > > Regards, > Serge... > > On Mon, Nov 26, 2018 at 8:34 PM Michael Ghen <m...@mikeghen.com> wrote: > > > > I'm going to download the latest from the link in the BUILDING document > > maybe that'll fix this > > > > On Mon, Nov 26, 2018 at 2:32 PM Michael Ghen <m...@mikeghen.com> wrote: > > > > > Java version 1.8.0_191 > > > > > > On Mon, Nov 26, 2018 at 2:22 PM Serge Huber <shu...@apache.org> wrote: > > > > > >> Which JDK version are you using ? > > >> > > >> Regards, > > >> Serge... > > >> > > >> > > >> > > >> On Mon, Nov 26, 2018 at 7:51 PM Michael Ghen <m...@mikeghen.com> > wrote: > > >> > > > >> > Hello, > > >> > > > >> > I am trying to run "mvn clean install" to build Unomi from source > but I > > >> > keep running into this error. I've also tried "mvn -P > > >> > \!integration-tests,\!performance-tests clean install" but get this > same > > >> > error. > > >> > > > >> > Is this something with my operating system? I'm running Mac OSx. > I'm not > > >> > finding much online about this. > > >> > > > >> > Tests run: 4, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: > 2.452 > > >> sec > > >> > <<< FAILURE! - in > > >> > > > >> > org.apache.unomi.plugins.baseplugin.conditions.PropertyConditionEvaluatorTest > > >> > > > >> > testCompareOGNLvsHardcodedPerformance(org.apache.unomi.plugins.baseplugin.conditions.PropertyConditionEvaluatorTest) > > >> > Time elapsed: 2.156 sec <<< ERROR! > > >> > java.lang.OutOfMemoryError: unable to create new native thread > > >> > at java.lang.Thread.start0(Native Method) > > >> > at java.lang.Thread.start(Thread.java:717) > > >> > at > > >> > > > >> > java.util.concurrent.ThreadPoolExecutor.addWorker(ThreadPoolExecutor.java:950) > > >> > at > > >> > > > >> > java.util.concurrent.ThreadPoolExecutor.execute(ThreadPoolExecutor.java:1357) > > >> > at > > >> > > > >> > java.util.concurrent.AbstractExecutorService.invokeAll(AbstractExecutorService.java:238) > > >> > at > > >> > > > >> > org.apache.unomi.plugins.baseplugin.conditions.PropertyConditionEvaluatorTest.runHardcodedTest(PropertyConditionEvaluatorTest.java:114) > > >> > at > > >> > > > >> > org.apache.unomi.plugins.baseplugin.conditions.PropertyConditionEvaluatorTest.testCompareOGNLvsHardcodedPerformance(PropertyConditionEvaluatorTest.java:83) > > >> > > > >> > java.lang.OutOfMemoryError: unable to create new native thread > > >> > at java.lang.Thread.start0(Native Method) > > >> > at java.lang.Thread.start(Thread.java:717) > > >> > at > > >> > > > >> > org.apache.maven.surefire.booter.ForkedBooter.launchLastDitchDaemonShutdownThread(ForkedBooter.java:184) > > >> > at > > >> > org.apache.maven.surefire.booter.ForkedBooter.exit(ForkedBooter.java:143) > > >> > at > > >> > org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:127) > > >> > Exception in thread "main" java.lang.OutOfMemoryError: unable to > create > > >> new > > >> > native thread > > >> > at java.lang.Thread.start0(Native Method) > > >> > at java.lang.Thread.start(Thread.java:717) > > >> > at > > >> > > > >> > org.apache.maven.surefire.booter.ForkedBooter.launchLastDitchDaemonShutdownThread(ForkedBooter.java:184) > > >> > at > > >> > org.apache.maven.surefire.booter.ForkedBooter.exit(ForkedBooter.java:143) > > >> > at > > >> > org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:135) > > >> > > > >