mmap fails when allocating large amounts of memory

前端 未结 0 1141
天命终不由人
天命终不由人 2020-11-29 17:43

For my program I need a byte array the size of 1/8th of the processs virtual memory space.

I used the getrlimit syscall to get the virtual memory size, then set it to

相关标签:
回答
  • 消灭零回复
提交回复
热议问题