y***r 发帖数: 1845 | 1 不明白了?
其实原来作者的问题很简单,
1)可能他把数据放在堆栈上;
2)可能他没有把soft limit提上去。
假如是sh/bash,用ulimit -a看一下
core file size (blocks, -c) 0
data seg size (kbytes, -d) unlimited
file size (blocks, -f) unlimited
max locked memory (kbytes, -l) 16
max memory size (kbytes, -m) unlimited
open files (-n) 1024
pipe size (512 bytes, -p) 8
stack size (kbytes, -s) unlimited
cpu time (seconds, -t) unlimited
max user processes (-u) 8147 |
|