[Samba] Problem with MS Visual SourceSafe and samba V3.0.14anb1
jra at samba.org
Sat Oct 15 00:58:21 GMT 2005
On Thu, Oct 13, 2005 at 09:12:46PM -0400, Scott R. Burns wrote:
> I am not sure. Is this a compile time version of the function that I have to
> opt to use in the samba source ? I am running precompiled binaries from the
> NetBSD site.
> The malloc implementation appears to have a couple of debug options with a
> ton of flags you can pass in:
> The following environment variables affect the execution of the alloca-
> tion functions:
> If the environment variable MALLOC_OPTIONS is set, the characters
> contains will be interpreted as flags to the allocation functions.
> /etc/malloc.conf symbolic link to filename containing option flags
> To set a systemwide reduction of cache size, and to dump core whenever
> problem occurs:
> ln -s 'A<' /etc/malloc.conf
> To specify in the source that a program does no return value checking
> calls to these functions:
> extern char *malloc_options;
> malloc_options = "X";
> Is this what you are looking for ?
Yes - that's what I meant. I want you to track down why you're
running out of memory. Usually that means a memory leak or a
very bad malloc implementation with problems. Or a very small
amount of memory on the box.
More information about the samba