not sure but i think you need to write =-Xmx...., you forgot the dash..
2013/12/30 Ranjini Rathinam <ranjinibe...@gmail.com> > Hi, > > While excuting the word count mapreduce program , input file is 95.2 MB. > the error occures like this " Error: Java Heap space" > > I have added -D mapred.child.java.opts=Xmx4096M in runtime also, > > but the error has not solve . > > In code also i have written conf.mapred.map.java.task=Xmx512M > > for both mapper and reducer but still the error has not been fixed. > > Please help to fix the error ASAP. > > Thanks in advance. > > Ranjini.R >