|
|
|
|
|
by man8alexd
27 days ago
|
|
You can't fix the fact that you can't predict the future. The software will always allocate more memory than it needs because it can't predict its future resource usage, so limiting memory allocation with strict overcommit is meaningless. |
|
(allocating virtual memory, but not committing is different, and should be handled with MAP_NORESERVE (or similiar)).