Fixed test failures when compiling with Java 7

Bumped up mapred.child.java.opts  to 256m and set the maxmemory for the
junit test to 512m.