www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/12/16/10:56:18

Date: Mon, 16 Dec 1996 17:36:36 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Dennis Bjorklund <md3den AT mdstud DOT chalmers DOT se>
cc: djgpp AT delorie DOT com
Subject: Re: windows <-> cwsdpmi
In-Reply-To: <58mbkl$46o@nyheter.chalmers.se>
Message-ID: <Pine.SUN.3.91.961216173308.18715I-100000@is>
MIME-Version: 1.0

On 11 Dec 1996, Dennis Bjorklund wrote:

> What is the difference with the memory handling between cwsdpmi and
> windows dpmi. I have a program that runs fine with windows but when I start
> it with cwsdpmi it starts to swap (major swap). I thought I should get more
> memory with cwsdpmi then with windows.

Please run go32-v2 without arguments in both environments and post what 
it prints.  It might be that your system is set up in a way that leaves 
much less free memory in the CWSDPMI case than in the Windows case.

> I do some big allocs in the beginning and clears them. It's approx 8 megs
> I alloc. And it doesn't swap when run from windows. (I have 16 meg). And
> don't say that I should by more memory, because that's not the problem.. 

This isn't enough to understand the nature of your problem.  If the 
output of go32-v2 shows that both environments leave similar amounts of 
free RAM, you will have to tell more about your problem.  The best would 
be to write the shortest program that exhibits similar behavior and post 
its source.

- Raw text -


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