changed heap size and camera settings (optionSize=2)