XF 1.5 Can't delete huge gallery category without errors/timeouts


Active member
This is a big category, 30k images, I don't need it on my dev server so am trying to remove it to free up space. Initially got memory errors so had the host greatly increase memory. No longer getting those but am now getting time outs after 90secs or so. Is there another way I can remove it? Thanks