[Samba] Problem with MS Visual SourceSafe and samba V3.0.14anb1

Jeremy Allison 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:
> 
> ENVIRONMENT
>      The following environment variables affect the execution of the alloca-
>      tion functions:
> 
>      MALLOC_OPTIONS
>           If the environment variable MALLOC_OPTIONS is set, the characters
> it
>           contains will be interpreted as flags to the allocation functions.
> 
> FILES
>      /etc/malloc.conf  symbolic link to filename containing option flags
> 
> EXAMPLES
>      To set a systemwide reduction of cache size, and to dump core whenever
> a
>      problem occurs:
> 
>            ln -s 'A<' /etc/malloc.conf
> 
>      To specify in the source that a program does no return value checking
> on
>      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.

Jeremy.


More information about the samba mailing list