Date: Thu, 18 Dec 1997 13:09:30 +0200 (IST) From: Eli Zaretskii To: GAMMELJL AT SLU DOT EDU cc: djgpp AT delorie DOT com Subject: Re: bump up internal table size In-Reply-To: <01IR9XY05D6QBL34WT@SLU.EDU> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Precedence: bulk On Wed, 17 Dec 1997 GAMMELJL AT SLU DOT EDU wrote: > How do I change the defaults (presumably the numbers in []) in order > to bump up internal table size. Enlarge this one: > Paragraphs of memory for extra CWSDPMI internal heap ? [128] You will need to use trial and error to get to the right size, since it depends on how the total memory allocated by your program is divided into different-size chunks. A typical way is to enlarge the number by a factor of 2 until your program stops failing due to memory allocations. > Remember that I want to achieve 128+128 (physical memory + virtual > memory) in "plain" DOS. Total amount of memory is not the issue. You should be able to allocate 128MB in one call without changing anything in the CWSDPMI parameters (use `calloc', not `malloc' to test that). It is the allocation in small chunks that requires to bump the internal heap size of CWSDPMI.