Your skill will accomplish what the force of many cannot |
|
PerlMonks |
Re: Memory usage and perlby pg (Canon) |
on Mar 14, 2003 at 18:43 UTC ( [id://243145]=note: print w/replies, xml ) | Need Help?? |
Although the memory allocated will not be freed back to the system, before the program exit, unless using things like mmap, but the memory allocated will be recycled for the same program. The real concern, under this context, is not the amount of memory your program used, but whether the amount of memory it used seems reasonable to you. If yes, fine; if not there is a memory leak. Also how active and sensitive the garbage collector is, is an extremely important fact here. If it is not active and sensitive enough, it would intend to allocate more memory than needed, as from time to time, it will fail to realize that there is actually allocated but freed memory or should be freed available.
In Section
Seekers of Perl Wisdom
|
|