草庐IT

memory-overhead

全部标签

java - 运行 Hadoop : insufficient memory for the Java Runtime Environment to continue

我有一个在3gb内存上运行的32位linux系统。当我尝试运行hadoop示例时,它失败了,说没有足够的内存分配给jre。生成的结果是:hadoopjarmapreduce/hadoop-mapreduce-examples-*.jargrepinputoutput‘dfs[a-z.]+’15/01/1110:17:04INFOclient.RMProxy:ConnectingtoResourceManagerat/127.0.0.1:803215/01/1110:17:05WARNmapreduce.JobSubmitter:Nojobjarfileset.Userclassesma

hadoop - yarn : How to make Yarn utilize more memory and vcores

我们有一个由Yarn管理并运行hadoop的5节点集群1Masternamenode8vcoresand24GBmemory4个数据节点,每个节点8个vcores和24GB内存当我在ui上查看Yarn配置时,如下图中突出显示的那样,它仅使用16GB和6个vcores我们的应用程序正在使用所有16gb,因此想要增加内存,因为它可用(24-2gbforos所以可用是22gb)我需要在哪里配置这个22gb而不是16gb?根据研究发现yarn-site.xml可能是这个地方所以继续更新它并重新启动yarn但它仍然显示16gb如果社区中的任何专家能提供帮助,我们将不胜感激,因为我们是Yarn的新

hadoop - pig : Container is running beyond physical memory limits in cdh 5 using oozie

我正在尝试运行一个简单的pig脚本,该脚本在gruntshell中运行f9但不使用oozie,出现如下错误:容器[pid=2617,containerID=container_1438923434512_12103_01_000002]正在超出物理内存限制运行。当前使用情况:已使用1.0GB的1GB物理内存;使用了2.9GB的2.1GB虚拟内存。杀死容器。container_1438923434512_12103_01_000002..的进程树转储..实际上我正在通过oozie调用一个shell脚本,实习生调用pig脚本并得到这样的错误。我怎样才能让它在oozie中可用

hadoop - Spark : Out Of Memory Error when I save to HDFS

我在保存大数据到hdfs时出现OOMEvalaccumulableCollection=sc.accumulableCollection(ArrayBuffer[String]())valrdd=textfile.filter(row=>{if(row.endsWith(",")){accumulableCollection+=rowfalse}elseif(row.length{varvalid=truefor((k,v)我在spark-submit中使用这个:--num-executors2--driver-memory1G--executor-memory1G--executor

java - mapreduce.reduce.shuffle.memory.limit.percent、mapreduce.reduce.shuffle.input.buffer.percent 和 mapreduce.reduce.shuffle.merge.percent

我只是想验证我对这些参数及其关系的理解,如果我错了请通知我。mapreduce.reduce.shuffle.input.buffer.percent告诉分配给reducer的整个洗牌阶段的内存总量。mapreduce.reduce.shuffle.memory.limit.percent告诉单个shuffle可以从mapreduce.reduce.shuffle.input消耗的内存限制的最大百分比.buffer.percent.mapreduce.reduce.shuffle.merge.percent是启动内存中合并的使用阈值,表示为总内存的百分比(mapreduce.reduc

memory - Hadoop Namenode 元数据 - fsimage 和编辑日志

我知道fsimage在启动时加载到内存中,并且出于性能原因,任何进一步的事务都会添加到编辑日志而不是fsimage。当namenode重启时,内存中的fsimage会被刷新。为了提高效率,secondarynamenode会定期做一个checkpoint来更新fsimage,这样namenode的恢复会更快。这些都很好。但是我不明白的一点是,假设一个文件已经存在并且关于这个文件的信息在内存中的fsimage中。现在我将此文件移动到另一个位置,该位置在编辑日志中更新。现在,当我尝试列出旧文件路径时,它会提示它不存在或其他什么。这是否意味着namenode也会查看编辑日志,这与内存中的fs

hadoop - `yarn.scheduler.maximum-allocation-mb` 和 `yarn.nodemanager.resource.memory-mb` 之间的区别?

yarn.scheduler.maximum-allocation-mb和yarn.nodemanager.resource.memory-mb有什么区别?我在yarn-site.xml中看到了这两个,我看到了解释here.yarn.scheduler.maximum-allocation-mb给出了以下定义:RM中每个容器请求的最大分配,以MB为单位。高于此值的内存请求将抛出InvalidResourceRequestException。这是否意味着仅在资源管理器上的内存请求受此值限制?yarn.nodemanager.resource.memory-mb给出了可以分配给容器的物理内

php - fatal error : Allowed memory size in PHP when allocating less

我明白了:Fatalerror:Allowedmemorysizeof268435456bytesexhausted(triedtoallocate4981690bytes)in...这似乎有点奇怪!据我所知,这不应该发生吗?并不意味着相反。我已经在使用一个非常大的memory_limit 最佳答案 它不会尝试一次分配所有资源。假设我们的限制是10个字节。它将分配3、3、3和另一个3-boom:抛出错误:Allowedmemorysizeof10bytesexhausted(triedtoallocate3bytes)in..

php - 错误 : Allowed memory size of 67108864 bytes exhausted

当我上传图片时文件大小:375kb宽度:2000px高度:3000px我得到一个错误ERRORFatalerror:Allowedmemorysizeof67108864bytesexhausted(triedtoallocate2157bytes)in...当67108864=64MB时,为什么会发生这种情况?我使用共享服务器。我的.htaccess是:RewriteEngineonRewriteRule^$webroot/[L]RewriteRule(.*)webroot/$1[L]我必须在哪里写php_valuememory_limit128M? 最佳

php - memory_get_peak_usage(true) 有什么作用?

这个问题在这里已经有了答案:PHP:memory_get_peak_usage(false),whenshouldiusetrue?(2个答案)memory_get_peak_usage()with"realusage"(5个答案)关闭9年前。PHPmanual说:intmemory_get_peak_usage([bool$real_usage=false])Returnsthepeakofmemory,inbytes,that'sbeenallocatedtoyourPHPscript.Parametersreal_usageSetthistoTRUEtogettherealsiz