fix save picture OOM