[issue19246] freeing then reallocating lots of memory fails under Windows
STINNER Victor
report at bugs.python.org
Tue Oct 15 10:23:22 CEST 2013
STINNER Victor added the comment:
Tim> http://msdn.microsoft.com/en-us/library/windows/desktop/aa366750(v=vs.85).aspx
Yes, this one.
Tim> BTW, everything I've read (including the MSDN page I linked to)
says that the LFH is enabled _by default_ starting in Windows Vista
(which I happen to be using). So unless Python does something to
_disable_ it (I don't know), there's nothing to try here.
Extract of the link:
"To enable the LFH for a heap, use the GetProcessHeap function to
obtain a handle to the default heap of the calling process, or use the
handle to a private heap created by the HeapCreate function. Then call
the HeapSetInformation function with the handle."
It should be enabled explicitly.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue19246>
_______________________________________
More information about the Python-bugs-list
mailing list