delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/12/17/21:50:14

Date: Wed, 17 Dec 1997 18:49:43 -0800 (PST)
Message-Id: <199712180249.SAA13292@adit.ap.net>
Mime-Version: 1.0
To: GAMMELJL AT SLU DOT EDU, djgpp AT delorie DOT com
From: Nate Eldredge <eldredge AT ap DOT net>
Subject: Re: bump up internal table size

At 09:50  12/17/1997 -0600, GAMMELJL AT SLU DOT EDU wrote:
>     When I run cwsparam, I see this series of possible inputs:
>         
>Full name of paging file ("" to disable) ? [c:\cwsdpmi.swp]
>Number of page tables to initially allocate (0=auto) ? [0]
>Minimum application memory desired before 640K paging ? [512 Kb]
>Paragraphs of DOS memory to reserve when 640K paging ? [3840]
>Paragraphs of memory for extra CWSDPMI internal heap ? [128]
^^^^^^^^^^^^^^
This is the one you want to change. The number is bytes*16 for its internal
heap. Try making it 2 or 3 times larger, try your program again, and repeat
as necessary.
But what version of CWSDPMI is this? You can type `cwsdpmi -v' to find out.
CWSDPMI versions beyond r2 have 6K by default, and this is only 2K. The
current version is r4. Consider upgrading.
>Maximum number of 4K pages in swap file ? [32760]
>Value of run option flags ? [0]
>
>How do I change the defaults (presumably the numbers in []) in order
>to bump up internal table size.  Remember that I want to achieve
>128+128 (physical memory + virtual memory) in "plain" DOS.  Currently
>when I run go32-v2 I get
>           dpmi memory available 123879 Kb
>           dpmi swap space available 4057 Kb
                                     ^^^^^^^^^
Also make sure that there actually is 128M of free space on your c: drive.
Either this is a CWSDPMI peculiarity or you have only 4M of free space.

Nate Eldredge
eldredge AT ap DOT net



- Raw text -


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