Date: Sun, 12 Oct 1997 13:50:56 +0200 (IST) From: Eli Zaretskii To: eyal DOT ben-david AT aks DOT com cc: djgpp AT delorie DOT com Subject: Re: memory usage during compilation In-Reply-To: <4225652B.0069B3EE.00@aks.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Precedence: bulk On Thu, 9 Oct 1997 eyal DOT ben-david AT aks DOT com wrote: > > Testing with a program that I used (see below) indicates that it takes > > cc1 about 10MB to compile it. But I never had any crashes or "out of > > memory" messages. > > > How can you get the numbers ? Add -dm to the gcc command-line switches, and it will report memory usage. (It will also say "Bad command or filename", because it tries to run `ps', but you can disregard that.)