Message263997
I know one can change the allocator, but the default is mmap which I don't think is a very good choice for the current arena size.
All the arguments about fragmentation and memory space also apply to pythons arena allocator itself and I am not convinced that fragmentation of the libc allocator is a real problem for python as pythons allocation pattern is very well behaved _due_ to its own arena allocator. I don't doubt it but I think it would be very valuable to document the actual real world use case that triggered this change, just to avoid people stumbling over this again and again.
But then I also don't think that anything needs to be necessarily be changed either, I have not seen the mmaps being a problem in any profiles of applications I work with. |
|
Date |
User |
Action |
Args |
2016-04-22 11:24:03 | jtaylor | set | recipients:
+ jtaylor, pitrou, vstinner, StyXman, neologix, dw, ztane, bar.harel |
2016-04-22 11:24:02 | jtaylor | set | messageid: <1461324242.98.0.116944646741.issue26601@psf.upfronthosting.co.za> |
2016-04-22 11:24:02 | jtaylor | link | issue26601 messages |
2016-04-22 11:24:02 | jtaylor | create | |
|