A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2005-December/059244.html below:

[Python-Dev] When do sets shrink?

[Python-Dev] When do sets shrink? [Python-Dev] When do sets shrink?"Martin v. Löwis" martin at v.loewis.de
Thu Dec 29 02:35:25 CET 2005
Adal Chiriliuc wrote:
> MSVC 7.1 and 8.0 malloc always uses the Windows heap functions
> (HeapAlloc & friends) if running on Windows 2000 or newer
> (malloc.c and heapinit.c).
> 
> So it seems that for both Linux (gcc) and Win (msvc) the memory is
> released to the operating system.

How so? HeapFree does not return the memory to the system. From

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/memory/base/heap_functions.asp

"Once the pages are committed, they are not decommitted until the
process is terminated or until the heap is destroyed by calling the
HeapDestroy function."

Regards,
Martin
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4