Thread: [Dev-C++] Compiler's Use of Memory
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: Charles B. <mr-...@at...> - 2001-02-27 21:44:47
|
I'm running Dev-C++ version 4.01 with the MinGW compiler version 2.95.2-1. Now that I'm working with more complex programs the compile time has gone up significantly. It take 4 or 5 minutes to compile after each revision. There is a lot of hard disk activity. While all of this is going on I have at least 10 Meg of available RAM. There appears to be no command line option to use the available RAM instead of reading and writing from the disk. Is that true? I'm not asking for a full build each time but it doesn't seem to make any difference in the compilation time. Is there any way to minimize hard disk activity and speed up the operation? Chuck |
|
From: Frazell T. <fr...@fl...> - 2001-02-27 23:08:01
|
What is the amount of ram you have on your system? And how much free when you start the cimpile? -----Original Message----- From: dev...@li... [mailto:dev...@li...]On Behalf Of Charles Brockman Sent: Tuesday, February 27, 2001 4:45 PM To: dev-cpp-users Subject: [Dev-C++] Compiler's Use of Memory I'm running Dev-C++ version 4.01 with the MinGW compiler version 2.95.2-1. Now that I'm working with more complex programs the compile time has gone up significantly. It take 4 or 5 minutes to compile after each revision. There is a lot of hard disk activity. While all of this is going on I have at least 10 Meg of available RAM. There appears to be no command line option to use the available RAM instead of reading and writing from the disk. Is that true? I'm not asking for a full build each time but it doesn't seem to make any difference in the compilation time. Is there any way to minimize hard disk activity and speed up the operation? Chuck _______________________________________________ Dev-cpp-users mailing list Dev...@li... http://lists.sourceforge.net/lists/listinfo/dev-cpp-users |
|
From: Charles <cha...@at...> - 2001-02-28 00:11:06
|
Frazell - > What is the amount of ram you have on your system? And how much free when you start the cimpile? I have 64 Meg of RAM in the system and in the neighborhood of 15 to 20 free when I start to compile the program. During compilation free memory never drops below 10 Meg. The program, by the way, compiles to a .EXE file a little over 4 Meg in size and that includes the debug information. Chuck |
|
From: Vassili <v.v...@bt...> - 2001-03-01 03:43:24
|
This is from the faq, 6. The EXE files created are huge. What can i do to reduce the size ? If you want to reduce your exe file size from 330 Ko to 12 Ko for example, go to compiler options. Then click on the Linker page and uncheck "Generate debug information". This will remove debugging information (if you want to debug, uncheck it). You can also click on Optimization page and check "Best optimization". ----- Original Message ----- From: "Charles Brockman" <mr-...@at...> To: "dev-cpp-users" <dev...@li...> Sent: Tuesday, February 27, 2001 9:45 PM Subject: [Dev-C++] Compiler's Use of Memory > I'm running Dev-C++ version 4.01 with the MinGW compiler version > 2.95.2-1. Now that I'm working with more complex programs the compile > time has gone up significantly. It take 4 or 5 minutes to compile after > each revision. There is a lot of hard disk activity. While all of this > is going on I have at least 10 Meg of available RAM. > > There appears to be no command line option to use the available RAM > instead of reading and writing from the disk. Is that true? > > I'm not asking for a full build each time but it doesn't seem to make > any difference in the compilation time. Is there any way to minimize > hard disk activity and speed up the operation? > > Chuck > > > > _______________________________________________ > Dev-cpp-users mailing list > Dev...@li... > http://lists.sourceforge.net/lists/listinfo/dev-cpp-users > |
|
From: Charles <cha...@at...> - 2001-03-01 18:40:49
|
Vassili - Thank you for your reply but the size of the resultant .EXE file is of little concern to me. I'm trying to increase use of the computer's RAM during the compilation phase and reduce hard disk activity thereby increasing the speed of the compilation. > This is from the faq, > 6. The EXE files created are huge. What can i do to reduce the size ? > > If you want to reduce your exe file size from 330 Ko to 12 Ko for example, > go to compiler options. Then click on the Linker page and uncheck "Generate > debug information". This will remove debugging information (if you want to > debug, uncheck it). You can also click on Optimization page and check "Best > optimization". > ----- Original Message ----- > Subject: [Dev-C++] Compiler's Use of Memory > > > I'm running Dev-C++ version 4.01 with the MinGW compiler version > > 2.95.2-1. Now that I'm working with more complex programs the compile > > time has gone up significantly. It take 4 or 5 minutes to compile after > > each revision. There is a lot of hard disk activity. While all of this > > is going on I have at least 10 Meg of available RAM. > > > > There appears to be no command line option to use the available RAM > > instead of reading and writing from the disk. Is that true? > > > > I'm not asking for a full build each time but it doesn't seem to make > > any difference in the compilation time. Is there any way to minimize > > hard disk activity and speed up the operation? Chuck |
|
From: Frazell T. <fr...@fl...> - 2001-03-02 03:07:13
|
Well that will usually be automatic for any program just depends on your amount of ram. How much ram do you have? -----Original Message----- From: dev...@li... [mailto:dev...@li...]On Behalf Of Charles Sent: Thursday, March 01, 2001 1:21 PM To: dev...@li... Subject: Re: [Dev-C++] Compiler's Use of Memory Vassili - Thank you for your reply but the size of the resultant .EXE file is of little concern to me. I'm trying to increase use of the computer's RAM during the compilation phase and reduce hard disk activity thereby increasing the speed of the compilation. > This is from the faq, > 6. The EXE files created are huge. What can i do to reduce the size ? > > If you want to reduce your exe file size from 330 Ko to 12 Ko for example, > go to compiler options. Then click on the Linker page and uncheck "Generate > debug information". This will remove debugging information (if you want to > debug, uncheck it). You can also click on Optimization page and check "Best > optimization". > ----- Original Message ----- > Subject: [Dev-C++] Compiler's Use of Memory > > > I'm running Dev-C++ version 4.01 with the MinGW compiler version > > 2.95.2-1. Now that I'm working with more complex programs the compile > > time has gone up significantly. It take 4 or 5 minutes to compile after > > each revision. There is a lot of hard disk activity. While all of this > > is going on I have at least 10 Meg of available RAM. > > > > There appears to be no command line option to use the available RAM > > instead of reading and writing from the disk. Is that true? > > > > I'm not asking for a full build each time but it doesn't seem to make > > any difference in the compilation time. Is there any way to minimize > > hard disk activity and speed up the operation? Chuck _______________________________________________ Dev-cpp-users mailing list Dev...@li... http://lists.sourceforge.net/lists/listinfo/dev-cpp-users |
|
From: Charles <cha...@at...> - 2001-03-02 03:51:31
|
> Well that will usually be automatic for any program just depends on your amount of ram. How much ram do you have? If that was addressed to me here's the text of my earlier reply: "I have 64 Meg of RAM in the system and in the neighborhood of 15 to 20 free when I start to compile the program. During compilation free memory never drops below 10 Meg." I'd like to turn off the debugging code added by the compiler but program that I'm working on desperately needs it. Four or five minutes per compile is a bit constraining. Does anyone know if I would benefit by switching to the Cygwin compiler? Perhaps I should implement handle classes (or the "Cheshire cat") that I read about today in chapter 5 of Eckel's Thinking in C++. Chuck |