Problem with talloc's pool
artur.miguel
artur.miguel at gmail.com
Sun Mar 15 12:08:31 MDT 2015
Hi,
I am a new user of talloc and I am particularly interested in using
talloc's pool. However, in the following code:
#include <stdlib.h>
#include <stdio.h>
#include <talloc.h>
struct foo{
char *name;
};
int main(){
TALLOC_CTX *mem_ctx = talloc_new(NULL);
TALLOC_CTX *pool_ctx = talloc_pool(NULL, 1024*1024);
if(!pool_ctx) printf("Error allocating pool\n");
}
I can't increase the size of the pool to more than 100*1024*1024. However,
I want to create a pool of 60+GB of RAM. How can I do this?
Thanks in advance,
AM
More information about the samba-technical
mailing list