Open duguhaotian opened 5 years ago
https://duguhaotian.github.io/2017/06/02/linux/kernel/linux_kernel_bigheap/#more
作者: 耗子007设置/proc/sys/vm/legacy_va_layout为0,调整进程地址空间的heap增长方向为从上往下。这样可以使得heap的上限超过2G。120 ----------------------------------------------------------------------------------------- 3G -------- 4G保留 | 代码段
https://duguhaotian.github.io/2017/06/02/linux/kernel/linux_kernel_bigheap/#more
作者: 耗子007设置/proc/sys/vm/legacy_va_layout为0,调整进程地址空间的heap增长方向为从上往下。这样可以使得heap的上限超过2G。120 ----------------------------------------------------------------------------------------- 3G -------- 4G保留 | 代码段