[Devel] openser memory
S G
skg1010 at hotmail.com
Mon Apr 17 23:52:36 CEST 2006
I am getting errors of openser running out of memory. Yet there is 1.5 gigs
of memory avaialbe on the system in question. It is possible there is a bug
in a module affecting other parts of openser, but i have a question on the
memory management.
I notice this define,
#define PKG_MEM_POOL_SIZE 1024*1024
and these lines in memory code,
char mem_pool[PKG_MEM_POOL_SIZE];
#ifdef PKG_MALLOC
/*init mem*/
#ifdef VQ_MALLOC
mem_block=vqm_malloc_init(mem_pool, PKG_MEM_POOL_SIZE);
#elif F_MALLOC
mem_block=fm_malloc_init(mem_pool, PKG_MEM_POOL_SIZE);
#else
mem_block=qm_malloc_init(mem_pool, PKG_MEM_POOL_SIZE);
#endif
How is PKG_MEM_POOL_SIZE used? Is openser not configured to use all
available memory?
Thanks,
Sumeet
_________________________________________________________________
Dont just search. Find. Check out the new MSN Search!
http://search.msn.click-url.com/go/onm00200636ave/direct/01/
More information about the Devel
mailing list