Re: Memory Management
- From: Ala Qumsieh <noreply@xxxxxxxxxxx>
- Date: Fri, 27 Apr 2007 23:28:47 GMT
Shiraz wrote:
I know I can allocate memory space by using ` $#arr = 999 ` but i am
not sure how much memory it consumes. Basically my goal is to figure
out how to set the max memory a variable can use and how to monitor
when the max has been reached.
If I may ask, why are you concerned about this?
If you are really worried about memory consumption that much, then Perl is
probably the wrong language to use.
Having said that, there is a CPAN module that might be of use:
http://search.cpan.org/~tels/Devel-Size-0.67/lib/Devel/Size.pm
I have never used it myself though.
--Ala
.
- References:
- Memory Management
- From: Shiraz
- Re: Memory Management
- From: Michael Carman
- Re: Memory Management
- From: Shiraz
- Memory Management
- Prev by Date: finding invalid method names
- Next by Date: Re: Weird error after a configuration change
- Previous by thread: Re: Memory Management
- Next by thread: Re: Memory Management
- Index(es):
Relevant Pages
|