Re: question building spark in a virtual machine

2015-09-20 Thread Eyal Altshuler
Anyone? On Sun, Sep 20, 2015 at 7:49 AM, Eyal Altshuler wrote: > I allocated almost 6GB of RAM to the ubuntu virtual machine and got the > same problem. > I will go over this post and try to zoom in into the java vm settings. > > meanwhile - can someone with a working ubuntu mach

Re: question building spark in a virtual machine

2015-09-19 Thread Eyal Altshuler
wrote: > Please read this article: > > http://blogs.vmware.com/apps/2011/06/taking-a-closer-look-at-sizing-the-java-process.html > > Can you increase the memory given to the ubuntu virtual machine ? > > Cheers > > On Sat, Sep 19, 2015 at 9:30 AM, Eyal Altshuler > wr

Re: question building spark in a virtual machine

2015-09-19 Thread Eyal Altshuler
if your Ubuntu VM has enough RAM allocated to run JVM of >> size 3gb? >> >> thanks, >> Aniket >> >> On Sat, Sep 19, 2015, 9:09 PM Eyal Altshuler >> wrote: >> >>> Hi, >>> >>> I had configured the MAVEN_OPTS environment varia

Re: question building spark in a virtual machine

2015-09-19 Thread Eyal Altshuler
29 PM, Ted Yu wrote: > Can you tell us how you configured the JVM heap size ? > Which version of Java are you using ? > > When I build Spark, I do the following: > > export MAVEN_OPTS="-Xmx2g -XX:MaxPermSize=512M > -XX:ReservedCodeCacheSize=512m" > > Cheers

question building spark in a virtual machine

2015-09-19 Thread Eyal Altshuler
Hi, Trying to build spark in my ubuntu virtual machine, I am getting the following error: "Error occurred during initialization of VM Could not reserve enough space for object heap Error: could not create the Java Virtual Machine. Error: A fatal exception has occurred. Program will exit". I have