]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
ceph.spec.in: fix for out-of-memory errors in OBS
authorNathan Cutler <ncutler@suse.com>
Fri, 2 Oct 2015 10:15:08 +0000 (12:15 +0200)
committerNathan Cutler <ncutler@suse.com>
Tue, 27 Oct 2015 10:24:19 +0000 (11:24 +0100)
commit7e6e90868d4b356e0e61cdf3d485cb3f2835c758
tree59e0585cfe4b2134b07683dc734c622a26cc7e98
parent2f8fd1358cb2d4cf9e04dad1e8b59e3ac1e8719e
ceph.spec.in: fix for out-of-memory errors in OBS

Add "--param ggc-min-expand=20 --param ggc-min-heapsize=32768"
to RPM_OPT_FLAGS, ensuring gcc does not add debug symbols and is
more aggressive about garbage collection.

Thanks to Berthold Gunreben for debugging this issue.

http://tracker.ceph.com/issues/13352 Fixes: #13352

Signed-off-by: Nathan Cutler <ncutler@suse.com>
(cherry picked from commit 404ffab739c7646d8d4ff5d52f0728e0883ac91b)

Conflicts:
ceph.spec.in
ceph.spec.in