Package: git Version: 1:2.11.0-1 Severity: important Dear Maintainer,
on a system with only 512 MB installed I received the following error: $ free total used free shared buff/cache available Mem: 474232 114984 192760 1476 166488 348564 Swap: 0 0 0 $ git clone https://github.com/xypron/skyldav Cloning into 'skyldav'... fatal: Out of memory, malloc failed (tried to allocate 536870912 bytes) fatal: The remote end hung up unexpectedly https://www.debian.org/releases/stable/arm64/ch03s04.html.en has the following requirements for headless systems: minimum RAM: 128MiB recommended: 512MiB (I could not find the corresponding page for Stretch.) Allocating 512MiB on git clone without fallback to a smaller quantity is a violation of this policy. A possible solution would be to limit the malloc call to 1/4 of the physical memory (without swap). Best regards Heinrich Schuchardt -- System Information: Debian Release: stretch/sid APT prefers testing APT policy: (500, 'testing') Architecture: arm64 (aarch64) Kernel: Linux 4.9.0-next-20161212-r015-arm64 (SMP w/4 CPU cores; PREEMPT) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to en_US.UTF-8) Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) Versions of packages git depends on: ii dpkg 1.18.15 ii git-man 1:2.11.0-1 ii libc6 2.24-8 ii libcurl3-gnutls 7.50.1-1 ii liberror-perl 0.17024-1 ii libexpat1 2.2.0-1 ii libpcre3 2:8.39-2 ii perl 5.24.1~rc4-1 ii zlib1g 1:1.2.8.dfsg-4 Versions of packages git recommends: ii less 481-2.1 ii openssh-client [ssh-client] 1:7.3p1-5 ii patch 2.7.5-1 ii rsync 3.1.2-1 Versions of packages git suggests: ii gettext-base 0.19.8.1-1 pn git-arch <none> pn git-cvs <none> pn git-daemon-run | git-daemon-sysvinit <none> pn git-doc <none> pn git-el <none> ii git-email 1:2.11.0-1 pn git-gui <none> pn git-mediawiki <none> pn git-svn <none> pn gitk <none> pn gitweb <none> -- no debconf information