delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1994/03/28/12:31:16

From: Lawrence Seddon <lawrence AT specialix DOT co DOT uk>
To: djgpp AT sun DOT soe DOT clarkson DOT edu
Subject: GO32 swapping question
Cc: lawrence AT specialix DOT co DOT uk
Date: Mon, 28 Mar 94 17:19:06 GMT

Hi,
	Im experiencing some rather frustrating problems under djgpp 110 and
am hoping that somewhere out there someone may know of a fix. The program that
I am currently working on download's a bunch of code to an intellegent serial 
card, the card is memory mapped. The download code is kept as an array of
unsigned char's and typically has a size of ~8.1K. A few days ago I upgraded 
the download code and consequently increased the size of the array to ~8.4K. 
The net result is that the minute the new download code is referenced (ie an 
attempt is made to write it to the card) go32 starts swapping like crazy and 
eventually gives up with the error message "Fatal! disk full writing to swap". 
Should I split the array into page sized chunks? Should I upgrade to 111?
Or, should I just give up and become a monk?

	Thanks for any help you can offer, 

		Lawrence Seddon

_______________________________________________________________________________

Lawrence J. Seddon,
Software Engineer,
Specialix Research Ltd,
Suite 2, Cobb House, 2 Oyster Lane, Byfleet, Surrey KT14 7DU
lawrence AT specialix DOT co DOT uk
Tel: +44 (0) 932 352251 Fax: +44 (0) 932 352349

- Raw text -


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