This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: trimming STL's memory pool


Ben <b_plony@yahoo.com> writes:
> malloc has its own problems. If some piece of data remains at the
> top of the data segment ( no free top-most memory ) all the freed
> memory beneath it cannot be returned to the system.

That depends on the malloc() implementation.  Not all are implemented
in terms of sbrk().

    --jtc

-- 
J.T. Conklin


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]