added adjustable java heap space sizes