My guess would be the collision detection being inefficient.
Putting the technical problem aside it also points to the game mechanics needing some tinkering. It seems impossible to not end up running away from a growing blob of enemies following you. The player's weapons don't seem fit to cut down the number of enemies in a meaningful way.