Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!uwm.edu!wuarchive!cs.utexas.edu!ut-emx!lad-shrike!milano!hsinchu!sadler From: sadler@hsinchu.sw.mcc.com (Rob Sadler) Newsgroups: comp.os.os2.misc Subject: Re: near heap space Summary: try -B1 -c1l.exe Message-ID: <4009@hsinchu.sw.mcc.com> Date: 25 Jul 90 14:06:53 GMT References: <1990Jul19.003747.18984@murdoch.acc.Virginia.EDU> <56058@microsoft.UUCP> Distribution: usa Organization: MCC, Austin, TX Lines: 17 modules. When I called Microsoft they told me about an undocumented compiler switch -B1 (bee one) that allowed you to specify the name of the first pass parser which should be c1L.exe (the *large* memory model first pass parser). So by adding this to my compile line I have never had the problem again. I do not know if the IBMc2 compiler supports this but it may if it's a rewrap of the MS product. The problem is that the compiler itself has only one segment (64K) allocated for its own heap to use while parsing your code. The c1L.exe parser is not the default but it is smart enough to know how to get multiple heaps. -- | Robert F. Sadler | rob.sadler@mcc.com | | MCC/STP | (512) 338-3603 | | 3500 West Balcones Center Drive | N C R | | Austin, Texas 78759-6509 | |