Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
After reading a lengthy __DATA__ section and issuing a "close(<DATA>);" is the memory allocated to the actual data following the __DATA__ marker freed up?
It just occured to me that by reading the data and stuffing it into hashes my module could quite possibly be consuming more memory than if I just defined the hashes with the data explicitly. (..and I don't know how to check that)
thanks!
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Memory Usage with __DATA__
by Thelonius (Priest) on May 16, 2003 at 02:52 UTC | |
by demerphq (Chancellor) on May 16, 2003 at 07:07 UTC | |
by diotalevi (Canon) on May 16, 2003 at 03:14 UTC | |
by demerphq (Chancellor) on May 16, 2003 at 06:55 UTC | |
|
Re: Memory Usage with __DATA__
by chip (Curate) on May 16, 2003 at 14:25 UTC |