Project

General

Profile

Actions

Bug #13352

closed

RPM: default g++ garbage collection settings need tweaking on some machines

Added by Nathan Cutler over 8 years ago. Updated over 8 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
-
Target version:
-
% 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 #1

Updated by Nathan Cutler over 8 years ago

  • Description updated (diff)
  • Status changed from New to In Progress
  • Source changed from other to Community (dev)
Actions #2

Updated by Nathan Cutler over 8 years ago

  • Status changed from In Progress to Fix Under Review
Actions #3

Updated by Nathan Cutler over 8 years ago

  • Description updated (diff)
Actions #4

Updated by Boris Ranto over 8 years ago

  • Status changed from Fix Under Review to Resolved

The patch was merged to infernalis branch.

Actions

Also available in: Atom PDF