You can, but you seem to have a fundamental rebuild issue here that will bite you soon in the future if you don’t sort it.
Have you got enough space on your server? ./launcher cleanup can help, as can ensuring your swap is set up correctly (if memory is the issue). You might even need more SSD space / memory / CPU grunt as rebuilding seems to be pretty much the highest demand activity there is.