Hello Joris, Looks You have configured mapred.map.child.java.opts to -Xmx512M, To spawn a child process that much memory is required. Can you check what other processes occupied memory in your machine. Bacuse your current task is not getting the enough memory to initialize. or try to reduce the mapred.map.child.java.opts to 256 , if your map task can exeute with that memory.
Regards, Uma ----- Original Message ----- From: Joris Poort <gpo...@gmail.com> Date: Saturday, September 24, 2011 5:50 am Subject: Hadoop java mapper -copyFromLocal heap size error To: mapreduce-user <mapreduce-user@hadoop.apache.org> > As part of my Java mapper I have a command executes some code on the > local node and copies a local output file to the hadoop fs. > Unfortunately I'm getting the following output: > > "Error occurred during initialization of VM" > "Could not reserve enough space for object heap" > > I've tried adjusting mapred.map.child.java.opts to -Xmx512M, but > unfortunately no luck. > > When I ssh into the node, I can run the -copyFromLocal command without > any issues. The ouput files are also quite small like around 100kb. > > Any help would be greatly appreciated! > > Cheers, > > Joris >