From: "Charles Sandmann" Newsgroups: comp.os.msdos.djgpp Subject: Re: How do I allocate more than 64MB with CWSDPMI under DOS Date: Mon, 22 Jun 1998 20:45:00 Organization: Aspen Technology, Inc. Lines: 10 Message-ID: <358ec24c.sandmann@clio.rice.edu> References: <358F34B3 DOT 1AEF AT sn DOT no> Reply-To: sandmann AT clio DOT rice DOT edu NNTP-Posting-Host: dmcap2.aco.aspentech.com To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk > installed the "himem.sys" driver from Win95. At my DOS prompt mem tells > me that I have 96MB of XMS memory. > I've configured cwsdpmi so that swapping is disabled. But the program > does not work. I am not able to allocate more than 64MB of memory. It > looks as if cwsdpmi refuses to let me have more than 64MB without > using virtual memory. Don't use malloc() which pads requests to power of 2 - use sbrk() for large allocations (4096 byte multiple preferred).