cc1plus memory consumption

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi, I currently run gentoo 1.4 with gcc 3.2.3-r2 on a dell laptop (P3 866) with 128MB of RAM. Usually, when I'm compiling large projects, KDE for example, I notice that my computer begins to thrash alot. I looked at the output of top, and I see 2 processes of cc1plus running consuming about 40-50MB average. I traced this down to that fact that gentoo uses make -j2 to compile files, so removing the -j2 flag stopped the thrashing. 

Now, I have a different computer (P2 500, 128MB RAM) running Redhat 8, gcc 3.2-7. I decided to try "make -j2" when compiling KDE on this computer. I noticed that this computer did not thrash. Checking the output of "top", I noticed that the 2 cc1plus processes were consuming about 20MB average, which is over half the memory used with my gentoo machine.

Now I'm wondering what caused such an increase in memory usage. Did something change from gcc 3.2 -> 3.2.3? Any ideas would be helpful.

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux