Re: C程序怎样分配大于1GB的内存?

2005-06-14 文章 ChenGang
On Wed, 15 Jun 2005 00:00:32 +0800 Xing-qiang Lu <[EMAIL PROTECTED]> wrote: > 我们的服务器的内存有4GB,但是一次只能malloc > 1GB的内存,请问怎么才能分配更多的内存呢? malloc and free are nothing with an OS kernel or a process. It's total libC paradigm. Please forget the malloc and free, and look at the brk implementation first. -

C程序怎样分配大于1GB的内存?

2005-06-14 文章 Xing-qiang Lu
我们的服务器的内存有4GB,但是一次只能malloc 1GB的内存,请问怎么才能分配更多的内存呢?