Date: Wed, 5 Aug 92 08:31:24 EDT From: DJ Delorie To: djgpp AT sun DOT soe DOT clarkson DOT edu Subject: Memory allocation problem with GO32 >I think I've found a pretty serious bug in GO32: >The PageTest that comes with the dev package aborts >after having paged about 2700 K with the message >"Out of conventional memory". The same thing happens >with a program compiled under DJGPP 1.05 of mine which >uses LOTS of memory. Both worked find under 1.06. The problem >shows up consistenly after a program has used up above amount >of virtual memory. I tried to track down the problem, and I >think it must be in the page_out routine -- there's a >new section for VA_640 paging which wasn't there before, >I think. (It sure wasn't there in 1.05.) The memory the program >uses up before it crashes is apparently independent on the >amount of free memory - it's always the same no matter how >much XMS or Low Memory is occupied. For 1.07 (or 1.08?) I fixed the VA_640 and VA_1M pageouts so that some conventional memory is always reserved when you need extended memory. I was getting the same problems compiling gcc when virtual data space hit the magic 4096K barrier. DJ dj AT ctron DOT com Life is a banana.