update exec memory for gcj