delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/07/21/18:08:33

Message-ID: <33D3DD4D.2A12@wanadoo.fr>
Date: Tue, 22 Jul 1997 00:06:05 +0200
From: Alan Poppleton <Alan DOT Poppleton AT wanadoo DOT fr>
Organization: Home
MIME-Version: 1.0
To: DJGPP <djgpp AT delorie DOT com>
Subject: allocating/freeing question

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!
I have read that other people have been having the same problem, but I 
cant find a solution to my problem.  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.  
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!
Thanx for any help
	Tony

- Raw text -


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