
Oct. 14, 2015
3:26 p.m.
On 14/10/2015 16:13, Victor Stinner wrote:
Hi,
You may also try tracemalloc to get stats of the Python memory usage ;-)
The Python memory allocator was optimized in Python 3.3: it now uses mmap() when available (on UNIX), it helps to reduce the fragmentation of the heap memory. Since Python 3.4, VirtualAlloc() is used for the same purpose on Windows.
Please mention your OS, OS version and Python version. Python 2.7.5 on RHEL 7.1.
Would tracemalloc still be useful here? cheers, Chris