|
|
|
|
|
by lbolla
2047 days ago
|
|
I discovered a similar trick few years ago: https://stackoverflow.com/questions/35660899/reduce-memory-f... The idea is to tweak when `mmap` or `malloc` are used by the Python interpreter. One allows memory to be released to the OS right away, whereas the other is not. It is a useful trick if your application is generating lots of small objects. |
|