Message263980
The heap on Linux is still a linear contiguous *address space*. I
agree that MADV_DONTNEED allow's returning committed memory back to
the VM subsystem, but it is still using a large virtual memory area.
Not everyone runs on 64-bit, or can waste address space.
Also, not every Unix is Linux.
But it might make sense to use malloc on Linux, maybe only on 64-bit. |
|
Date |
User |
Action |
Args |
2016-04-22 08:06:30 | neologix | set | recipients:
+ neologix, pitrou, vstinner, StyXman, jtaylor, dw, ztane, bar.harel |
2016-04-22 08:06:30 | neologix | link | issue26601 messages |
2016-04-22 08:06:30 | neologix | create | |
|