www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/02/10/00:21:59

From: nikki AT gameboutique DOT co (nikki)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: big fat swap
Date: 9 Feb 1997 11:08:39 GMT
Organization: GameBoutique Ltd.
Lines: 31
Message-ID: <5dkb7n$mt3@flex.uunet.pipex.com>
References: <Pine DOT SUN DOT 3 DOT 91 DOT 970207122519 DOT 7639A-100000 AT is>
NNTP-Posting-Host: www.gameboutique.com
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

>> on the first machine the program runs fine, no trouble, on the other it
>> swaps like crazy everytime i access parts of this 1 meg memory array. as
>> there should be almost 15meg free i can't for the life of me see why it's
>> swopping.
> 
> Run go32-v2 without arguments and post what it prints.  The printed 
> report will show you how much free physical memory do DJGPP programs see 
> on that machine.  If the report shows a low amount of physical memory, 
> you will have to change your configuration to free some more.  If you 
> don't know how to do that, post your CONFIG.SYS and AUTOEXEC.BAT. 

well it gives 15meg free memory and 99meg free virtual memory on the first
machine (the one it runs on) and almost no free memory and 99meg free on the
second. so that seems to be the problem alright :)
i only had cwsdpmi.exe on the other machine before, that is right isn't it?
i only need that to run files i thought. 
the config.sys and autoexec.bat are uneditable on the second machine (it
boots from a remote network) so do i have any other options here? 
it occurs to me that there must be other people in situations like this, where
they obtain a copy of your program you wrote with djgpp and they're not
experienced enough to go about editing these files. can i force dpmi to use
the memory? i know it's available as nothing else is using it, i have no 
idea why it isn't 'seen' by go32 :(

regards,
nik


-- 
Graham Tootell           
nikki AT gameboutique DOT com  

- Raw text -


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