delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/10/12/07:54:32

Date: Sun, 12 Oct 1997 13:50:56 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
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: <Pine.SUN.3.91.971012134921.8447C-100000@is>
MIME-Version: 1.0

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.)

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019