Mail Archives: djgpp/1996/12/16/10:56:18
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 -