Mail Archives: djgpp/1997/07/22/15:11:03
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 -