Actions
Bug #13352
closedRPM: default g++ garbage collection settings need tweaking on some machines
% Done:
0%
Source:
Community (dev)
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):
Description
On machines with 8GB of physical memory in the openSUSE Build Service, attempts to build infernalis are prematurely cut off by cc1plus: out of memory allocating 4194304 bytes after a total of 31973376 bytes
.
This is because gcc's default values of ggc-min-expand
and
ggc-min-heapsize
cause it to collect garbage too aggressively on these machines.
For details, see: http://jkroon.blogs.uls.co.za/it/scriptingprogramming/preventing-gcc-from-trashing-the-system
Thanks to my colleague Berthold Gunreben for debugging this issue.
Actions