Bulk Smush

We have nearly 46000 images on our site. We keep trying to run a Bulk Smush on the images but the process keeps stopping - I'm not sure what is causing the Bulk Smush to stop running. Do you have any suggestions? Also, is there a way to have the bulk Smush run without having the page open?