public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
From: "naje" <najeiv@ukr.net>
To: gcc@gcc.gnu.org
Subject: compiler memory use optimization
Date: Thu, 18 Nov 2004 18:45:00 -0000	[thread overview]
Message-ID: <E1CUr6T-000KRL-CB@storage.ukr.net> (raw)

Hi,
my program use C++ templates vary hard, so i've got much memory spent for
compilation, and sometimes i've got "virtual memory exhaust" error.
Is there any way to find out which part of my program is hard to
compile to optimize it, and is there any methods to optimize memory use in gcc?
And that kinds of optimizations of my code can i use to optimize
compilation?

I use gcc3.3 on freebsd 5.2.
Thank you.

             reply	other threads:[~2004-11-18 18:34 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-11-18 18:45 naje [this message]
2004-11-18 19:33 ` Giovanni Bajo
2004-11-18 22:30   ` Joe Buck
2004-11-18 22:45 ` Mike Stump
2004-11-21  6:49 Dan Kegel

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=E1CUr6T-000KRL-CB@storage.ukr.net \
    --to=najeiv@ukr.net \
    --cc=gcc@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).