bug fixes and add parameters for amount of memory to use per executor process