<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Re: [Flume] - GC overhead limit exceeded error in flume channel in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Flume-GC-overhead-limit-exceeded-error-in-flume-channel/m-p/29596#M6321</link>
    <description>&lt;P&gt;We resolved this problem when&amp;nbsp;adding below line to flume-env.sh;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;export JAVA_OPTS="-Xms100m -Xmx2000m&amp;nbsp;&lt;SPAN&gt;-Dcom.sun.management.&lt;/SPAN&gt;&lt;SPAN&gt;jmxremote"&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks for your response&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 15 Jul 2015 10:51:16 GMT</pubDate>
    <dc:creator>osman</dc:creator>
    <dc:date>2015-07-15T10:51:16Z</dc:date>
    <item>
      <title>[Flume] - GC overhead limit exceeded error in flume channel</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Flume-GC-overhead-limit-exceeded-error-in-flume-channel/m-p/28724#M6319</link>
      <description>&lt;P&gt;Hi, I’m working with CDH 5.4.2 and we use flume for data aggregation.When we ran the flume agent, observed the following problem:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;PRE&gt;18:06:2015 11:26:17 ERROR [ChannelProcessor] Error while writing to required channel: org.apache.flume.channel.MemoryChannel{name: channel1}
&lt;FONT color="#FF0000"&gt;java.lang.OutOfMemoryError: GC overhead limit exceeded&lt;/FONT&gt;&lt;/PRE&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;STRONG&gt;Configuration File details:&lt;/STRONG&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;PRE&gt;agent1.channels.channel1.type = memory
agent1.channels.channel1.capacity = 100000
agent1.channels.channel1.transactionCapactiy = 1000

agent1.sources.source1.channels = channel1&amp;nbsp;

agent1.sinks = sink1

agent1.sinks.sink1.type = hdfs
agent1.sinks.sink1.channel = channel1
agent1.sinks.sink1.hdfs.useLocalTimeStamp = true
agent1.sinks.sink1.hdfs.path = hdfs://xxx/%Y%m%d%H
agent1.sinks.sink1.hdfs.filePrefix = xdr
agent1.sinks.sink1.hdfs.fileType = DataStream
agent1.sinks.sink1.hdfs.writeFormat = Text
agent1.sinks.sink1.hdfs.rollCount = 2000000
agent1.sinks.sink1.hdfs.rollSize = 0
agent1.sinks.sink1.hdfs.batchSize = 100&lt;/PRE&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I really appreciate your help, on this issue.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Osman Uygar&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 09:31:51 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Flume-GC-overhead-limit-exceeded-error-in-flume-channel/m-p/28724#M6319</guid>
      <dc:creator>osman</dc:creator>
      <dc:date>2022-09-16T09:31:51Z</dc:date>
    </item>
    <item>
      <title>Re: [Flume] - GC overhead limit exceeded error in flume channel</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Flume-GC-overhead-limit-exceeded-error-in-flume-channel/m-p/29583#M6320</link>
      <description>You are using the memory channel, which sits inside the Java Heap of the Flume process. Your capacity indicates 100k items, so the overall usage if the channel gets full (based on the source's event sizes) can exhaust the heap if there's not sufficient overhead.&lt;BR /&gt;&lt;BR /&gt;What is your current Flume heap size? You may want to double it, or estimate better the size based on average source event size times the channel capacity, plus some breathing room for the Flume daemon's own work.</description>
      <pubDate>Wed, 15 Jul 2015 09:28:49 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Flume-GC-overhead-limit-exceeded-error-in-flume-channel/m-p/29583#M6320</guid>
      <dc:creator>Harsh J</dc:creator>
      <dc:date>2015-07-15T09:28:49Z</dc:date>
    </item>
    <item>
      <title>Re: [Flume] - GC overhead limit exceeded error in flume channel</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Flume-GC-overhead-limit-exceeded-error-in-flume-channel/m-p/29596#M6321</link>
      <description>&lt;P&gt;We resolved this problem when&amp;nbsp;adding below line to flume-env.sh;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;export JAVA_OPTS="-Xms100m -Xmx2000m&amp;nbsp;&lt;SPAN&gt;-Dcom.sun.management.&lt;/SPAN&gt;&lt;SPAN&gt;jmxremote"&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks for your response&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 15 Jul 2015 10:51:16 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Flume-GC-overhead-limit-exceeded-error-in-flume-channel/m-p/29596#M6321</guid>
      <dc:creator>osman</dc:creator>
      <dc:date>2015-07-15T10:51:16Z</dc:date>
    </item>
    <item>
      <title>Re: [Flume] - GC overhead limit exceeded error in flume channel</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Flume-GC-overhead-limit-exceeded-error-in-flume-channel/m-p/29597#M6322</link>
      <description>Glad to know! Please consider marking your post as a solution so it helps others with similar issues arrive at a resolving post quicker.</description>
      <pubDate>Wed, 15 Jul 2015 10:55:37 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Flume-GC-overhead-limit-exceeded-error-in-flume-channel/m-p/29597#M6322</guid>
      <dc:creator>Harsh J</dc:creator>
      <dc:date>2015-07-15T10:55:37Z</dc:date>
    </item>
    <item>
      <title>Re: [Flume] - GC overhead limit exceeded error in flume channel</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Flume-GC-overhead-limit-exceeded-error-in-flume-channel/m-p/54949#M6323</link>
      <description>&lt;P&gt;hi ,&lt;/P&gt;&lt;P&gt;i am also facing same issue .. but in my case it is not working as per your suggestion .. please help me still facing the same issue ..&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ERROR hdfs.HDFSEventSink: process failed&lt;BR /&gt;java.lang.OutOfMemoryError: GC overhead limit exceeded&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 22 May 2017 19:21:31 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Flume-GC-overhead-limit-exceeded-error-in-flume-channel/m-p/54949#M6323</guid>
      <dc:creator>Manish99</dc:creator>
      <dc:date>2017-05-22T19:21:31Z</dc:date>
    </item>
    <item>
      <title>Re: [Flume] - GC overhead limit exceeded error in flume channel</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Flume-GC-overhead-limit-exceeded-error-in-flume-channel/m-p/86649#M6324</link>
      <description>try giving the heap size when you start the flume agent&lt;BR /&gt;&lt;BR /&gt;flume-ng agent -n a1 -f flume_config.conf -Xms256m -Xmx1024m</description>
      <pubDate>Mon, 18 Feb 2019 21:07:42 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Flume-GC-overhead-limit-exceeded-error-in-flume-channel/m-p/86649#M6324</guid>
      <dc:creator>vasuks</dc:creator>
      <dc:date>2019-02-18T21:07:42Z</dc:date>
    </item>
  </channel>
</rss>

