Message-Id: Comments: Authenticated sender is From: "Salvador Eduardo Tropea (SET)" Organization: INTI To: djgpp-workers AT delorie DOT com Date: Tue, 23 Jun 1998 13:06:37 +0000 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Subject: DJGPP v2.01 malloc wasting 4Kb Precedence: bulk Hi All: If I'm right malloc is wasting 4Kb each time we allocate a block >= 4Kb. Malloc allocates one extra page and this page is simply wasted. I saw it when I tried to allocate all the RAM in pages (after configuring CWSDPMI to allow it because I were using 32Mb). My questions are: 1) Is that correct? (To test it you can make some allocations of 4000 bytes and check the free memory you'll see each allocation is taking 2 pages instead of 1). 2) Can we fix it in the distribution? Currently there are too much known bugs in v2.01, as an example: my editor needs at least 3 patchs for libs to work. 3) What's the status of 2.02? The last snapshot is too old! I know Nate is mainting an unofficial patched version but: Are these patchs really tested? isn't that worst than having an updated beta version? SET ------------------------------------ 0 -------------------------------- Visit my home page: http://set-soft.home.ml.org/ or http://www.geocities.com/SiliconValley/Vista/6552/ Salvador Eduardo Tropea (SET). (Electronics Engineer) Alternative e-mail: set-soft AT usa DOT net set AT computer DOT org ICQ: 2951574 Address: Curapaligue 2124, Caseros, 3 de Febrero Buenos Aires, (1678), ARGENTINA TE: +(541) 759 0013