Message-Id: Comments: Authenticated sender is From: "Salvador Eduardo Tropea (SET)" Organization: INTI To: grundmann , djgpp AT delorie DOT com Date: Mon, 27 Jul 1998 14:56:21 +0000 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Subject: Re: Memory Problem In-reply-to: <35BCAB8A.9FC7C98D@uni-duesseldorf.de> Precedence: bulk grundmann wrote: > And then look at the output which is given in the error_file : > > There is still 62693376 bytes physical memory > There is still 69185536 bytes virtual memory > Die Buffer size ist:46123690 > First chunk allocated > There is still 62689280 bytes physical memory > There is still 2011136 bytes virtual memory > > This is done under dos with CWSDPMI . > Does malloc has such an overhead ? There are about 20 Megabytes of Memory > missing ! DJ answered it. > The second thing is that i only want physical memory cause i sample from a AD > Card very quick and it is possible that i > loose data when i use swapped mem. > I tried to move the data to disk ( with normal open and write functions ) but > it didn't work . I got an buffer overflow in the > sample buffer of the AD Card . > I move 8 Kilobyte blocks from card to memory and then tried to move them to > disk but without success . If you want to avoid the swap use the ring 0 version of CWSDPMI. What's the sample speed? 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