diff options
author | Colin Walters <walters@verbum.org> | 2013-04-24 18:19:04 -0400 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2013-04-25 22:51:31 -0400 |
commit | 910003d022ed299b50ab36228732bb74a23d46ba (patch) | |
tree | ffe1a8d0850a215e8610666c9687eadea9b2ffcd /src/analyze/systemd-analyze.c | |
parent | 45df1f2c9a7fee67b37f64ddd00adad5982844fa (diff) |
coredump: use realloc() loop instead of malloc(768M)
I typically run VMs with 1024MiB allocated; systemd is unable to write
coredumps in this scenario at all because the default kernel
configuration will only overcommit 50% of available RAM.
Avoid this failure by using a realloc() loop.
See: http://lists.freedesktop.org/archives/systemd-devel/2013-April/010709.html
Diffstat (limited to 'src/analyze/systemd-analyze.c')
0 files changed, 0 insertions, 0 deletions