Re: [DISCUSS] memory allocation method

2007-01-19 Thread Rick Brown
On 1/15/07, Raz Ben-Jehuda(caro) <[EMAIL PROTECTED]> wrote: I have a process who allocates as much as possible of RAM in 4 G ram 32bit machine. This buffer is never released. Questions: 1. Is it better allocates with many 1MB buffers or allocate it in with one a big valloc ? ONe BIG vmalloc

Re: [DISCUSS] memory allocation method

2007-01-19 Thread Helge Hafting
Raz Ben-Jehuda(caro) wrote: 3. In 64bit machines , is it possible to allocate huge buffers , such as 30 GB of ram ? Yes, that is one of the nice things about 64-bit machines. No special cases - you sure can get 30GB if your machine is equipped with that much. Or you can get that much virtual m

[DISCUSS] memory allocation method

2007-01-15 Thread Raz Ben-Jehuda(caro)
I have a process who allocates as much as possible of RAM in 4 G ram 32bit machine. This buffer is never released. Questions: 1. Is it better allocates with many 1MB buffers or allocate it in with one a big valloc ? 2. I will be needing to make this memory allocation in many other machines , s