>>>>> "SHC" == Shawn H Corey <shawnhco...@ncf.ca> writes:

  SHC> On 11-05-18 08:25 PM, Jim Gibson wrote:
  >> Perl hangs on to the memory and does not return it back to the operating
  >> system.

  SHC> Under UNIX, et al. all processes hang on to their memory because it's
  SHC> too time consuming to give it back.

that isn't the case. the brk() system call can return memory to the OS
but it requires the free memory to be at the end of the current memory
space. that is difficult to do with standard malloc/free calls. there
are ways to manage ram in a process so it can be returned to the OS. it
isn't a time issue but an design and memory management issue.

uri

-- 
Uri Guttman  ------  u...@stemsystems.com  --------  http://www.sysarch.com --
-----  Perl Code Review , Architecture, Development, Training, Support ------
---------  Gourmet Hot Cocoa Mix  ----  http://bestfriendscocoa.com ---------

-- 
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to