cvs.gedasymbols.org/archives/browse.cgi   search  
Mail Archives: djgpp/1997/07/22/15:11:03

Message-Id: <m0wqeai-000S1kC@inti.edu.ar>
Comments: Authenticated sender is <salvador AT natacha DOT inti DOT edu DOT ar>
From: "Salvador Eduardo Tropea (SET)" <salvador AT inti DOT edu DOT ar>
Organization: INTI
To: Alan Poppleton <Alan DOT Poppleton AT wanadoo DOT fr>
Date: Tue, 22 Jul 1997 16:24:54 +0000
MIME-Version: 1.0
Subject: Re: allocating/freeing question
CC: djgpp AT delorie DOT com

Alan Poppleton <Alan DOT Poppleton AT wanadoo DOT fr> 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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019