How many CPU cores are on that machine? Read http://qr.ae/8Uv3Xq
You can also confirm the above by running the pmap utility on your process and most of the virtual memory would be under 'anon'. On Fri, 13 May 2016 09:11 jone, <joyoungzh...@gmail.com> wrote: > The virtual memory is 9G When i run org.apache.spark.examples.SparkPi > under yarn-cluster model,which using default configurations. > PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ > COMMAND > > 4519 mqq 20 0 9041 <2009041>m 248m 26m S 0.3 0.8 0:19.85 > java > I am curious why is so high? > > Thanks. >