The default mapred.child.java.opts sets to -Xmx200m.

If you're seeing 512m, then that means that somewhere else you've manually
configured that setting. Maybe your application itself is calling
conf.set("mapred.child.java.opts", "-Xmx512m") and overriding your site
file? (Also, note that this setting will be drawn from the hadoop-site.xml
file on the client node that submits the job, not on the TT nodes
themselves.)

- Aaron

On Sat, Jan 9, 2010 at 9:31 PM, Fuad Efendi <[email protected]> wrote:

>
> After deep investigation of specific OOMs, it seems I can't set -Xmx1024m
> for MapRed tasks; memory analysis (for Mappers & Reducers) always shows
> magic
> -Xmx (maximal heap size) is 536870912 bytes
>
> At the same time, for TaskTracker it shows
> -Xmx (maximal heap size) is 1048576000 bytes
>
>
> Strange! Hadoop 0.19.2, with hadoop-site.xml properly replicated in
> cluster...
> <property>
>  <name>mapred.child.java.opts</name>
>  <value>-server -Xms1g -Xmx1g</value>
>
>
> Has anyone had anything like that? I can't set -Xmx!
>
> -Fuad
> http://www.tokenizer.ca
>
>
>
>

Reply via email to