www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/07/20/19:01:45

From: ams AT ludd DOT luth DOT se (Martin Str|mberg)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: EMM386 limiting memory to 32Mb
Date: 20 Jul 1998 22:39:53 GMT
Organization: University of Lulea, Sweden
Lines: 22
Message-ID: <6p0gvp$q7m$1@news.luth.se>
References: <Pine DOT SUN DOT 3 DOT 91 DOT 980719121826 DOT 29744E-100000 AT is>
NNTP-Posting-Host: my21.sm.luth.se
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Eli Zaretskii (eliz AT is DOT elta DOT co DOT il) wrote:
: IMHO, that's a bad idea.  Swap file should be at least twice the
: installed RAM size, which is impossible with a RAM disk.

Where do you get such a strange idea from? Suppose I have 512MB RAM,
then I need 1GB swap space?

No. You need as much swap space as you need. Suppose you need 128MB
for a certain (in your setting) worst case, and you have 32MB RAM,
then you'd need at least 96MB swap space (and some more because the OS
takes some as well).

The problem here (in this thread) is evidently most versions of EMM386
won't let you use more than 32MB, hence you need to start swapping
prematurely. So what should we do with the X MB more than 32MB? If
it's enough you _could_ use it a as RAMDISK to swap on to overcome
EMM386 limitations.


New Model Army, Small Town England,

							MartinS

- Raw text -


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