Memory management in Cygwin

Mumit Khan khan@NanoTech.Wisc.EDU
Sun Mar 19 14:27:00 GMT 2000

On Sun, 19 Mar 2000, Alex wrote:

> I'm interested to know if C/C++ compilers in Cygwin somehow optimize
> memory allocation/deallocation routines like getting large blocks from
> OS and then redistributing small portions to the program.
> Thanks for help!

It's not the compilers, but rather the runtime that manage the memory
pools, and yes, Cygwin's memory manager does do pool optimization just
like every other `malloc' package out there.

Cygwin's malloc is based on, as far as I can tell, Doug Lea's public
domain implementation. See his homepage
for the design document (go down to the "Software" section).


Want to unsubscribe from this list?
Send a message to

More information about the Cygwin mailing list