Sounds like a coding issue to me, probably 'while' loops with 'if' statements incrementing on each cycle.

Find and fix them before anything else.