If we're playing the guessing game, my guess is that you have used a lot of global data structures, and they always grow, you never clear them out. Just modularizing your code, using lexically scoped variables and
strict.pm might help clean some of that up.
But that's just a guess.