https://gcc.gnu.org/bugzilla/show_bug.cgi?id=125446

--- Comment #5 from bill <w.langdon at cs dot ucl.ac.uk> ---
Some progress:-)
I have tried another computer (the same operating system etc)
but far more memory (1.5 TB).

On the big memory computer example min6.cpp compiles ok.
MemTotal:       1584282756 kB

We still the same problem on the computer with only 128GB
MemTotal:       131110376 kB

I logged top every ten seconds whilst on the big memory
and nothing leaps out:
    PID USER      PR  NI    VIRT    RES    SHR S  %CPU  %MEM     TIME+ COMMAND
3643782 ucacbbl   20   0 2896324   2.2g  18408 R  53.1   0.1   0:05.36 cc1plus
3643782 ucacbbl   20   0 4638528   3.9g  18408 R  99.1   0.3   0:15.36 cc1plus
3643782 ucacbbl   20   0 7017892   6.2g  18408 R  99.5   0.4   0:25.39 cc1plus
3643782 ucacbbl   20   0 6885428   6.1g  18856 R  99.5   0.4   0:35.42 cc1plus
3643782 ucacbbl   20   0   10.5g   9.8g  19048 R  99.4   0.7   0:45.44 cc1plus
3643782 ucacbbl   20   0    9.8g   9.3g  19560 R  99.5   0.6   0:55.47 cc1plus
3643782 ucacbbl   20   0   11.8g  11.2g  19816 R  99.5   0.7   1:05.50 cc1plus
3643782 ucacbbl   20   0   15.4g  14.7g  20648 R  99.6   1.0   1:15.53 cc1plus
3643782 ucacbbl   20   0   20.1g  17.8g  20708 R  99.5   1.2   1:25.56 cc1plus
3643782 ucacbbl   20   0   20.0g  19.2g  20708 R  99.4   1.3   1:35.58 cc1plus
3643782 ucacbbl   20   0   21.0g  20.2g  20836 R  99.5   1.3   1:45.61 cc1plus
3643782 ucacbbl   20   0   17.8g  17.1g  21284 R  99.5   1.1   1:55.64 cc1plus

But if I try the same commands on the 128GB computer I get
(still get error min6.cpp:6000050: internal compiler error: Segmentation fault)
    PID USER      PR  NI    VIRT    RES    SHR S  %CPU  %MEM     TIME+ COMMAND
  35188 ucacbbl   20   0 2603064   1.3g   8280 R  18.1   1.0   0:01.81 cc1plus
  35188 ucacbbl   20   0 4680320   3.9g  17952 R  99.9   3.2   0:11.82 cc1plus
  35189 ucacbbl   20   0 3964928   3.3g  17864 R  88.7   2.6   0:08.88 cc1plus
  35189 ucacbbl   20   0 7017824   6.2g  17864 R  99.9   4.9   0:18.88 cc1plus
  35214 ucacbbl   20   0 4098060   3.4g  17824 R  94.1   2.7   0:09.43 cc1plus
  35214 ucacbbl   20   0 4910440   4.2g  17824 R  99.9   3.3   0:19.43 cc1plus
  35214 ucacbbl   20   0 4910440   4.2g  17824 R 100.0   3.3   0:29.44 cc1plus
  35214 ucacbbl   20   0 4910440   4.2g  17824 R  99.8   3.3   0:39.44 cc1plus
  35214 ucacbbl   20   0 4910440   4.2g  17824 R 100.0   3.3   0:49.45 cc1plus
  35218 ucacbbl   20   0 3596012   2.9g  17872 R  73.1   2.3   0:07.32 cc1plus
  35218 ucacbbl   20   0 5944736   5.2g  17872 R  99.9   4.1   0:17.32 cc1plus

Note smaller RES memory.
Note VIRT memory very different.
Note change of PID.

The big memory machine is much more popular, so it has more user load.

I am not sure that this helps. Good to know there is a machine here
which can compile it. But it is not clear to me why one is ok but
the other is not.
Best wishes
Bill

Reply via email to