Revert "changed production and test memory settings back to original settings"

This reverts commit d45bc8be023de76c67cb715f8fb06754e0d1ea51.
Set emr test jvm heap space to 512mb