www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/07/27/13:47:57

Message-Id: <m0z0rM6-000S4SC@inti.gov.ar>
Comments: Authenticated sender is <salvador AT natacha DOT inti DOT gov DOT ar>
From: "Salvador Eduardo Tropea (SET)" <salvador AT inti DOT gov DOT ar>
Organization: INTI
To: grundmann <grundema AT uni-duesseldorf DOT de>, djgpp AT delorie DOT com
Date: Mon, 27 Jul 1998 14:56:21 +0000
MIME-Version: 1.0
Subject: Re: Memory Problem
In-reply-to: <35BCAB8A.9FC7C98D@uni-duesseldorf.de>

grundmann <grundema AT uni-duesseldorf DOT de> 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

- Raw text -


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