alloc memory in UNIX# Unix - 噫吁兮,危乎高哉
s*m
1 楼
my program include many large arrays. It consumes 500M memory. It can run at
WINDOWS.When I use it in a UNIX with 1G mem. it always core dump with
segmentation fault at malloc memory. How to solve this problem?
Thanks.
WINDOWS.When I use it in a UNIX with 1G mem. it always core dump with
segmentation fault at malloc memory. How to solve this problem?
Thanks.