in reply to Find largest variables
Assuming you have all of your variables properly scoped (that is, you're using lexicals declared with my), the most likely culprit is processing a large list of information, such as lines from a file, in a memory-inefficient way.
Devel::Size can help you profile variables, but my guess is that you're processing a large file somehow. We can't be more specific without seeing some code however.
|
|---|