Updating the amount of memory and threads for rendering