Parameterizing max memory.

Adding a max memory usage parameter to Strategy and parsing via spark convention.