reduce allocated ram while camera is not fixed