<?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: ERROR:is running beyond physical memory limits. in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/ERROR-is-running-beyond-physical-memory-limits/m-p/77837#M61940</link>
    <description>&lt;P&gt;I changed the parameter :&amp;nbsp;&lt;SPAN&gt;yarn.scheduler.minimum-allocation-mb&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;and fixed this issue finally.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;A href="https://blog.csdn.net/oaimm/article/details/25298691" target="_blank"&gt;https://blog.csdn.net/oaimm/article/details/25298691&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 31 Jul 2018 02:58:24 GMT</pubDate>
    <dc:creator>wenjiea</dc:creator>
    <dc:date>2018-07-31T02:58:24Z</dc:date>
    <item>
      <title>ERROR:is running beyond physical memory limits.</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/ERROR-is-running-beyond-physical-memory-limits/m-p/55173#M61937</link>
      <description>&lt;P&gt;Hi ,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I got the error as below.&lt;/P&gt;&lt;P&gt;It seems we need to set memory for&amp;nbsp;&lt;SPAN&gt;physical memory , but i can't find the configation about it.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Where can i set&amp;nbsp;physical memory?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;But the way , i just run some simple insert query in HIVE,&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;and this error not happened on every time , i want to get the reason.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ERROR:&lt;/P&gt;&lt;P&gt;Diagnostic Messages for this Task:&lt;BR /&gt;Container [pid=51661,containerID=container_e50_1493005386967_25486_01_000243] is running beyond physical memory limits. Current usage: 1.0 GB of 1 GB physical memory used; 2.7 GB of 2.1 GB virtual memory used. Killing container.&lt;BR /&gt;Dump of the process-tree for container_e50_1493005386967_25486_01_000243 :&lt;BR /&gt;|- PID PPID PGRPID SESSID CMD_NAME USER_MODE_TIME(MILLIS) SYSTEM_TIME(MILLIS) VMEM_USAGE(BYTES) RSSMEM_USAGE(PAGES) FULL_CMD_LINE&lt;BR /&gt;|- 51661 51659 51661 51661 (bash) 0 0 108662784 305 /bin/bash -c /usr/java/jdk1.8.0_101/bin/java -Djava.net.preferIPv4Stack=true -Dhadoop.metrics.log.level=WARN.............&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 29 May 2017 02:50:00 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/ERROR-is-running-beyond-physical-memory-limits/m-p/55173#M61937</guid>
      <dc:creator>wenjie</dc:creator>
      <dc:date>2017-05-29T02:50:00Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR:is running beyond physical memory limits.</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/ERROR-is-running-beyond-physical-memory-limits/m-p/55303#M61938</link>
      <description>&lt;P&gt;The setting mapreduce.map.memory.mb will set the physical memory size of the container running the mapper (mapreduce.reduce.memory.mb will do the same for the reducer container).&lt;BR /&gt;&lt;BR /&gt;Besure that you adjust the heap value as well. In newer version of YARN/MRv2 the setting mapreduce.job.heap.memory-mb.ratio can be used to have it auto-adjust. The default is .8, so 80% of whatever the container size is will be allocated as the heap. Otherwise, adjust manually using mapreduce.map.java.opts.max.heap and mapreduce.reduce.java.opts.max.heap settings.&lt;BR /&gt;&lt;BR /&gt;BTW, I believe that 1 GB is the default and it is quite low. I recommend reading the below link. It provides a good understanding of YARN and MR memory setting, how they relate, and how to set some baseline settings based on the cluster node size (disk, memory, and cores).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.cloudera.com/documentation/enterprise/5-4-x/topics/cdh_ig_yarn_tuning.html" target="_blank"&gt;https://www.cloudera.com/documentation/enterprise/5-4-x/topics/cdh_ig_yarn_tuning.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 31 May 2017 17:30:44 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/ERROR-is-running-beyond-physical-memory-limits/m-p/55303#M61938</guid>
      <dc:creator>mbigelow</dc:creator>
      <dc:date>2017-05-31T17:30:44Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR:is running beyond physical memory limits.</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/ERROR-is-running-beyond-physical-memory-limits/m-p/55320#M61939</link>
      <description>Hi mbigelow,&lt;BR /&gt;&lt;BR /&gt;Thanks for your reply.&lt;BR /&gt;Appreciate it.</description>
      <pubDate>Thu, 01 Jun 2017 01:26:34 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/ERROR-is-running-beyond-physical-memory-limits/m-p/55320#M61939</guid>
      <dc:creator>wenjie</dc:creator>
      <dc:date>2017-06-01T01:26:34Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR:is running beyond physical memory limits.</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/ERROR-is-running-beyond-physical-memory-limits/m-p/77837#M61940</link>
      <description>&lt;P&gt;I changed the parameter :&amp;nbsp;&lt;SPAN&gt;yarn.scheduler.minimum-allocation-mb&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;and fixed this issue finally.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;A href="https://blog.csdn.net/oaimm/article/details/25298691" target="_blank"&gt;https://blog.csdn.net/oaimm/article/details/25298691&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 31 Jul 2018 02:58:24 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/ERROR-is-running-beyond-physical-memory-limits/m-p/77837#M61940</guid>
      <dc:creator>wenjiea</dc:creator>
      <dc:date>2018-07-31T02:58:24Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR:is running beyond physical memory limits.</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/ERROR-is-running-beyond-physical-memory-limits/m-p/84202#M61941</link>
      <description>&lt;P&gt;I can't see the relationship between &lt;SPAN&gt;yarn.scheduler.minimum-allocation-mb&lt;/SPAN&gt; and the error is reported.&lt;/P&gt;&lt;P&gt;According to hive documentation, &lt;SPAN&gt;yarn.scheduler.minimum-allocation-mb&lt;/SPAN&gt; is the "container memory minimum". But in this case, the container is running of memory, so it makes sense to increase the "maximum-allocation" instead.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Anyway, as it was answered, increasing "mapreduce.map.memory.mb" and "mapreduce.reduce.memory.mb" must work, as those parameters controls how much memory is used by the map-reduce task is run by Hive.&lt;/P&gt;</description>
      <pubDate>Fri, 21 Dec 2018 08:55:20 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/ERROR-is-running-beyond-physical-memory-limits/m-p/84202#M61941</guid>
      <dc:creator>evinhas</dc:creator>
      <dc:date>2018-12-21T08:55:20Z</dc:date>
    </item>
  </channel>
</rss>

