This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
compiler memory use optimization
- From: "naje" <najeiv at ukr dot net>
- To: gcc at gcc dot gnu dot org
- Date: Thu, 18 Nov 2004 20:33:57 +0200
- Subject: compiler memory use optimization
- Reply-to: "naje" <najeiv at ukr dot net>
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.