1 |
On 06/02/12 23:33, Grant wrote: |
2 |
> I'm trying to compile GCC on a remote system with 192MB RAM. It's |
3 |
> completed successfully before but now it uses up all RAM. The compile |
4 |
> doesn't stop but it must be thrashing. I have MAKEOPTS="-j1" in |
5 |
> /etc/make.conf. Am I jeopardizing my HD by letting it swap on the |
6 |
> compile right now? I've ordered an upgrade to the max of 512MB. I've |
7 |
> stopped all processes using up memory that I don't need including X. |
8 |
> Is there anything else I can do to get through the compile with 192MB |
9 |
> RAM? |
10 |
|
11 |
Lowering optimization helps a lot (CFLAGS in make.conf). For example |
12 |
-O1 or -Os instead of the standard -O2. |