Re: free() and memory usage

From: those who know me have no need of my name (not-a-real-address_at_usa.net)
Date: 02/29/04


Date: 29 Feb 2004 00:07:20 GMT

in comp.unix.programmer i read:

>1) the size of top constantly grows means a leak?

not necessarily.

>2) if free() of glibc doesn't (always?) return the memory to OS, is this
>behave can be affected by process' current running env or time(how long the
>process holds the resource) related?

gnu libc only returns memory to the o/s when there is a sufficiently large
block. see the documentation for more information.

>3) what are other possible reasons for above different "size" with same
>inputs/outputs to a process?

something is different it would seem. find those differences.

-- 
a signature


Relevant Pages

  • Are Fixed Duration tasks flawed?
    ... I believe that there is a flaw in how Microsoft Project Fixed Duration tasks ... the resource working calendar which conflict with the assignment dates, ... duration and thus forces it to behave like a FIXED Work task. ...
    (microsoft.public.project)
  • Re: Windows 2003 Clustering - Impact Of Changing Quorum Resource
    ... if everything goes well there should be no impact on clustered resources (of ... It should behave ... as it would if you move cluster resource group to passive node - take ...
    (microsoft.public.windows.server.clustering)
  • Re: hacked or monitored?
    ... It's not related to IIS, so you'll want to use another resource for ... While I'm tempted to suggest alt.paranoia, I'll behave ... Jeff ...
    (microsoft.public.inetserver.iis.security)