Message-Id: Comments: Authenticated sender is From: "Salvador Eduardo Tropea (SET)" Organization: INTI To: Alan Poppleton Date: Tue, 22 Jul 1997 16:24:54 +0000 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Subject: Re: allocating/freeing question CC: djgpp AT delorie DOT com Precedence: bulk Alan Poppleton wrote: > When is the next version of djgpp coming out? > > I have a problem with the malloc function. I am allocating and freeing > memory constantly, and my program eventually runs out of memory! AFAIK the next version won't fix that. > I have read that other people have been having the same problem, but I > cant find a solution to my problem. Try my malloc function. If it works please tell me. Look for it in my Web site (see signature). > I know I could just allocate all > the memory in one big block at the beginning and then use my own memory > routines, but this would be very difficult to implement in my program. No so complex, but will be slow. > Is there an easy way out of this such as a new malloc function that does > reallocate freed memory? Perhaps it could be in the next version of > djgpp! See my malloc function, if it solve your problems just make the rest know it. If not make it too. SET ------------------------------------ 0 -------------------------------- Visit my home page: http://www.geocities.com/SiliconValley/Vista/6552/ Salvador Eduardo Tropea (SET). (Electronics Engineer) Address: Curapaligue 2124, Caseros, 3 de Febrero Buenos Aires, (1678), ARGENTINA TE: +(541) 759 0013