Mail Archives: djgpp/2000/09/26/14:15:13
Edmund Horner <ejrh AT paradise DOT net DOT nz> escribió en el mensaje de noticias
969973140 DOT 340672 AT shelley DOT paradise DOT net DOT nz...
> I understand that even if you allocate a block bigger than you have free
> memory, the DPMI service won't actually start the virtual memory up until
> you actually _use_ it.
O.K., but this does not make a solution. I have no chance to decide if using
RAM o disk.
> > Perhaps I must try malloc(1.5*filelength(f)) to decide if it is good
idea
> to
> > load entire file in ram, but I thougth it would be better technique to
> watch
> > available before. I think it is possible a long delay for virtual
> allocation
> > if I ask for 20 Mb in a 2Mb ram machine, and in this environment I would
> > prefer to let data on disk and read it myself as necessary, saving real
> ram
> > for other more important purposes.
- Raw text -