[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: malloc failures with slapadd and ldapadd (ITS#1656)

Date: Tue, 26 Mar 2002 10:05:33 -0500 (EST)
From: Ashley Frost <afrost@williams.edu>
To: Kervin Pierre <kpierre@fit.edu>
Subject: Re: malloc failures with slapadd and ldapadd (ITS#1656)

> Judging from the error messages alone, it looks like you are running out 
> of memory.

I think you're right about a possible memory leak.  I just watched the
memory usage pattern of slapadd while it ran and noted that it grew to a
size of 134M of both reserved and resident memory.  The machine still had
317M of physical memory free, but I believe that the process must have hit
the per-process limit.
> try building against a memory debug package like, dmalloc, or electric 
> fence. Maybe you're running into a memory leak?
> --Kervin

I will do as you suggest and see if I can't locate the leak.  I can't
imagine that this process should take anywhere near that much memory for
the number of records we are indexing (~4000).  Each record is small and