Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!shadooby!samsung!cs.utexas.edu!swrinde!emory!stiatl!bryan From: bryan@stiatl.UUCP (Bryan Donaldson) Newsgroups: comp.lang.c Subject: Re: Helps wanted on Microsoft C compiler. Message-ID: <7993@stiatl.UUCP> Date: 4 Dec 89 13:21:27 GMT References: <16013@pollux.UUCP> Organization: Sales Technologies Inc., "The Little Shop of Horrors..." Lines: 34 jwang@smu.edu (Jainbai Wang) writes: >When programming with Microsoft C lately, I run into a problem that the >MSC compiler gives the following error message at compiling time : > Fatal error C1059 : out of near heap space >The manual explains it like this : > The compiler has run out of storage for items that it stores > in the "near" (default data segment) heap. This usually means > that your program has too many symbols or complex expressions. > To correct the problem, divide the file into several smaller > source files, or break expressions into smaller subexpressions. >[deleted] >SOME ONE PLEASE GIVE A HINT ON HOW TO SOLVE IT ! >Thanks in advance. In the documentation file optionially[sp?] set up called \source\doc\readme.doc you'll fin a message concerning this very problem. The gist of it is : use the C1L.exe first pass for the compiler. Do so by using the /B1 switch like so : CL /B1 .c This should take care of your problems. BGD -- Bryan Donaldson gatech!stiatl!bryan Sales Technologies, Inc 3399 Peachtree Rd, NE Atlanta, GA (404) 841-4000