flume-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bhaskar V. Karambelkar" <bhaska...@gmail.com>
Subject Re: OutOfMemory
Date Wed, 16 Jan 2013 21:49:22 GMT
What is the channel transaction capacity and HDFS batch size ?

On Wed, Jan 16, 2013 at 1:52 PM, Mohit Anchlia <mohitanchlia@gmail.com>wrote:

> I often get out of memory even when there is no load on the system. I am
> wondering what's the best way to debug this. I have heap size set to 2G and
> memory capacity is 10000
>
>
> *13/01/16* *09:09:38* *ERROR* *hdfs.HDFSEventSink:* *process* *failed*
> *java.lang.OutOfMemoryError:* *Java* *heap* *space*
> 	*at* *java.util.Arrays.copyOf*(*Arrays.java:2786*)
>
> 	*at* *java.io.ByteArrayOutputStream.write*(*ByteArrayOutputStream.java:94*)
>
> 	*at* *java.io.DataOutputStream.write*(*DataOutputStream.java:90*)
>
> 	*at* *org.apache.hadoop.io.Text.write*(*Text.java:282*)
> *...* *11* *lines* *omitted* *...*
> 	*at* *java.lang.Thread.run*(*Thread.java:662*)
> *Exception* *in* *thread* "*SinkRunner-PollingRunner-DefaultSinkProcessor*" *java.lang.OutOfMemoryError:*
*Java* *heap* *space*
>
> 	*at* *java.util.Arrays.copyOf*(*Arrays.java:2786*)
>
> 	*at* *java.io.ByteArrayOutputStream.write*(*ByteArrayOutputStream.java:94*)
>
>

Mime
View raw message