Date: Mon, 16 Dec 1996 17:36:36 +0200 (IST) From: Eli Zaretskii To: Dennis Bjorklund cc: djgpp AT delorie DOT com Subject: Re: windows <-> cwsdpmi In-Reply-To: <58mbkl$46o@nyheter.chalmers.se> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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.