http://qs321.pair.com?node_id=1209166


in reply to Re: Strange memory growth
in thread Strange memory growth

That could potentially create a lot of new hashes.
But only three, and $cg (and $jp) fall out of scope after every iteration. I can't see why this would continually increase memory.

Replies are listed 'Best First'.
Re^3: Strange memory growth
by ikegami (Patriarch) on Feb 14, 2018 at 18:54 UTC

    Indeed. As such, I find it hard to believe the line you identified has anything to do with a memory leak. Is that the program you actually ran?

      I find it hard to believe the line you identified has anything to do with it, then.
      I'm not the author of the question.