Requested array size exceeds VM limit

2015-02-23 Thread insperatum
Hi,I'm using MLLib to train a random forest. It's working fine to depth 15, but if I use depth 20 I get a*java.lang.OutOfMemoryError: Requested array size exceeds VM limit* on the driver, from the collectAsMap operation in DecisionTree.scala, around line 642.It doesn't happen un

Requested array size exceeds VM limit Error

2015-02-05 Thread Muttineni, Vinay
.set("spark.serializer", "org.apache.spark.serializer.KryoSerializer").set("spark.kryoserializer.buffer.mb", "256") java.lang.OutOfMemoryError: Requested array size exceeds VM limit at java.util.Arrays.copyOf(Arrays.java:2271) at java.i

Re: Requested array size exceeds VM limit

2015-02-23 Thread Sean Owen
ry. On Mon, Feb 23, 2015 at 6:44 PM, insperatum wrote: > Hi, I'm using MLLib to train a random forest. It's working fine to depth 15, > but if I use depth 20 I get a java.lang.OutOfMemoryError: Requested array > size exceeds VM limit on the driver, from the collectAsMap opera

java.lang.OutOfMemoryError: Requested array size exceeds VM limit

2014-08-27 Thread durin
kSetManager: Lost task 0.0 in stage 3.0 (TID 2028, idp11.foo.bar): java.lang.OutOfMemoryError: Requested array size exceeds VM limit java.util.Arrays.copyOf(Arrays.java:3230) java.io.ByteArrayOutputStream.grow(ByteArrayOutputStream.java:113) java.io.ByteArrayOutputStream.ensureCapacity(ByteArrayO

java.lang.OutOfMemoryError: Requested array size exceeds VM limit

2014-10-20 Thread Arian Pasquali
Hi, I’m using Spark 1.1.0 and I’m having some issues to setup memory options. I get “Requested array size exceeds VM limit” and I’m probably missing something regarding memory configuration (https://spark.apache.org/docs/1.1.0/configuration.html). My server has 30G of memory and this are my

OOM - Requested array size exceeds VM limit

2014-11-03 Thread akhandeshi
st 4 14/11/03 20:46:00 WARN BlockManager: Putting block rdd_19_5 failed 14/11/03 20:46:00 ERROR Executor: Exception in task 5.0 in stage 3.0 (TID 70) java.lang.OutOfMemoryError: Requested array size exceeds VM limit at java.util.Arrays.copyOf(Arrays.java:2271) at java.io.ByteArrayO

Re: java.lang.OutOfMemoryError: Requested array size exceeds VM limit

2016-03-14 Thread nir
For uniform partitioning, you can try custom Partitioner. -- View this message in context: http://apache-spark-user-list.1001560.n3.nabble.com/java-lang-OutOfMemoryError-Requested-array-size-exceeds-VM-limit-tp16809p26477.html Sent from the Apache Spark User List mailing list archive at

[SPARK-SQL] Requested array size exceeds VM limit

2015-09-25 Thread Sadhan Sood
> COUNT(*) > FROM >p_all_tx > WHERE >date_prefix >= "20150500" >AND date_prefix <= "20150700" >AND sanitizeddetails.merchantaccountid = 'Rvr7StMZSTQj'; java.lan

Re: java.lang.OutOfMemoryError: Requested array size exceeds VM limit

2014-10-20 Thread Akhil Das
8Gb of memory where as it only has 5Gb and hence it exceeds the VM Limit. Thanks Best Regards On Mon, Oct 20, 2014 at 4:42 PM, Arian Pasquali wrote: > Hi, > I’m using Spark 1.1.0 and I’m having some issues to setup memory options. > I get “Requested array size exceeds VM limit” and I’m

Re: java.lang.OutOfMemoryError: Requested array size exceeds VM limit

2014-10-20 Thread Arian Pasquali
of > memory where as it only has 5Gb and hence it exceeds the VM Limit. > > > > Thanks > Best Regards > > On Mon, Oct 20, 2014 at 4:42 PM, Arian Pasquali > wrote: > >> Hi, >> I’m using Spark 1.1.0 and I’m having some issues to setup memory options. &g

Re: java.lang.OutOfMemoryError: Requested array size exceeds VM limit

2014-10-20 Thread Akhil Das
erIterator$BasicBlockFetcherIterator: >>> Getting 1566 non-empty blocks out of 1566 blocks >>> 14/10/11 13:00:16 INFO BlockFetcherIterator$BasicBlockFetcherIterator: >>> Started 0 remote fetches in 4 ms >>> 14/10/11 13:02:06 INFO ExternalAppendOnlyMap:

Re: java.lang.OutOfMemoryError: Requested array size exceeds VM limit

2014-10-20 Thread Guillaume Pitel
Hi, The array size you (or the serializer) tries to allocate is just too big for the JVM. No configuration can help : https://plumbr.eu/outofmemoryerror/requested-array-size-exceeds-vm-limit The only option is to split you problem further by increasing parallelism. Guillaume Hi, I’m using

Re: java.lang.OutOfMemoryError: Requested array size exceeds VM limit

2014-10-21 Thread Arian Pasquali
Hi, > > The array size you (or the serializer) tries to allocate is just too big > for the JVM. No configuration can help : > > https://plumbr.eu/outofmemoryerror/requested-array-size-exceeds-vm-limit > > The only option is to split you problem further by increasing parallelism.

Re: java.lang.OutOfMemoryError: Requested array size exceeds VM limit

2014-11-17 Thread akhandeshi
can provide. -- View this message in context: http://apache-spark-user-list.1001560.n3.nabble.com/java-lang-OutOfMemoryError-Requested-array-size-exceeds-VM-limit-tp16809p19097.html Sent from the Apache Spark User List mailing l

Spark-xml - OutOfMemoryError: Requested array size exceeds VM limit

2016-11-15 Thread Arun Patel
I am trying to read an XML file which is 1GB is size. I am getting an error 'java.lang.OutOfMemoryError: Requested array size exceeds VM limit' after reading 7 partitions in local mode. In Yarn mode, it throws 'java.lang.OutOfMemoryError: Java heap space' error after readin

Re: Spark-xml - OutOfMemoryError: Requested array size exceeds VM limit

2016-11-15 Thread Hyukjin Kwon
ricks/spark-xml/issues if you still face this problem? I will try to take a look at my best. Thank you. 2016-11-16 9:12 GMT+09:00 Arun Patel : > I am trying to read an XML file which is 1GB is size. I am getting an > error 'java.lang.OutOfMemoryError: Requested array size exceeds V

Re: Spark-xml - OutOfMemoryError: Requested array size exceeds VM limit

2016-11-15 Thread Arun Patel
f you still face this problem? > > I will try to take a look at my best. > > > Thank you. > > > 2016-11-16 9:12 GMT+09:00 Arun Patel : > >> I am trying to read an XML file which is 1GB is size. I am getting an >> error 'java.lang.OutOfMemoryErr

Re: Spark-xml - OutOfMemoryError: Requested array size exceeds VM limit

2016-11-16 Thread Arun Patel
//github.com/databricks/spark-xml/issues if you still face this >> problem? >> >> I will try to take a look at my best. >> >> >> Thank you. >> >> >> 2016-11-16 9:12 GMT+09:00 Arun Patel : >> >>> I am trying to read an XML file w

Re: Spark-xml - OutOfMemoryError: Requested array size exceeds VM limit

2016-11-16 Thread Hyukjin Kwon
to doubly sure if you don't mind?. >>> >>> >>> Lastly, do you mind if I ask to open an issue in >>> https://github.com/databricks/spark-xml/issues if you still face this >>> problem? >>> >>> I will try to take a look at my best

SqlContext parquet read OutOfMemoryError: Requested array size exceeds VM limit error

2016-05-04 Thread Bijay Kumar Pathak
using hive SQL but for the both cases, it throws me below error with no further description on error. hive_context.sql("select * from test.base_table where date='{0}'".format(part_dt)) sqlcontext.read.parquet("/path/to/partion/") # # java.lang.OutOfMemoryError: R

Re: SqlContext parquet read OutOfMemoryError: Requested array size exceeds VM limit error

2016-05-04 Thread Ted Yu
Have you seen this thread ? http://search-hadoop.com/m/q3RTtyXr2N13hf9O&subj=java+lang+OutOfMemoryError+Requested+array+size+exceeds+VM+limit On Wed, May 4, 2016 at 2:44 PM, Bijay Kumar Pathak wrote: > Hi, > > I am reading the parquet file around 50+ G which has 4013 partitio

Re: SqlContext parquet read OutOfMemoryError: Requested array size exceeds VM limit error

2016-05-04 Thread Prajwal Tuladhar
;.format(part_dt)) > sqlcontext.read.parquet("/path/to/partion/") > > # > # java.lang.OutOfMemoryError: Requested array size exceeds VM limit > # -XX:OnOutOfMemoryError="kill -9 %p" > # Executing /bin/sh -c "kill -9 16953"... > > > What cou

Re: SqlContext parquet read OutOfMemoryError: Requested array size exceeds VM limit error

2016-05-04 Thread Bijay Kumar Pathak
esn't work, throws java.lang.OutOfMemoryError: Requested array size exceeds VM limit df.write.mode('overwrite').partitionBy('e_dt','c_dt').parquet("/path/to/file/") Thanks, Bijay On Wed, May 4, 2016 at 3:02 PM, Prajwal Tuladhar wrote: > If you are run