in reply to Does Data::Dumper have a memory leak?

Not knowing anything about the internals of Data::Dumper, I don't tink the problem is a memory leak; it is a problem of memory not being garbage collecteds fast enough.

In Windows, when I dump a particular 170K data structure the process baloons to 150M and stays there. But when I minimize the DOS window, the memory consumption for the process goes down to normal levels again (as displayed in the Task Manager).

This behaviour forced me to reluctantly replace Data::Dumper with Storable :(

/J

  • Comment on Re: Does Data::Dumper have a memory leak?

Replies are listed 'Best First'.
Re: Re: Does Data::Dumper have a memory leak?
by perrin (Chancellor) on Sep 08, 2001 at 00:41 UTC
    You were reluctant about moving to Storable? Why? It's faster and is generally considered a better solution on the mailing lists I frequent.
      In this case I cared for the human-readable aspect of the output.

      Being able to edit saved text files is a nice feature in many cases.

      /J