Ich lief git auf meinem Ubuntu VM ziehen, und ich bekamfatal: Nicht genügend Arbeitsspeicher, fehlgeschlagen malloc Fehler auf git pull auf Ubuntu VM
Enter passphrase for key '/root/.ssh/id_rsa':
remote: Counting objects: 7, done.
remote: Compressing objects: 100% (7/7), done.
remote: Total 7 (delta 4), reused 0 (delta 0)
Unpacking objects: 100% (7/7), done.
From bitbucket.org:bheng/app
7406b4e..8f5e3dc master -> origin/master
Auto packing the repository for optimum performance. You may also
run "git gc" manually. See "git help gc" for more information.
Counting objects: 5384, done.
fatal: Out of memory, malloc failed (tried to allocate 306851376 bytes)
error: failed to run repack
Updating 7406b4e..8f5e3dc
Fast-forward
Auto packing the repository for optimum performance. You may also
run "git gc" manually. See "git help gc" for more information.
Counting objects: 5384, done.
fatal: Out of memory, malloc failed (tried to allocate 306851376 bytes)
error: failed to run repack
resources/views/layouts/fe/meta.blade.php | 14 +++++++++++++-
1 file changed, 13 insertions(+), 1 deletion(-)
Wie Sie am Ende sehen können - sie ziehen in meine lokalen Änderungen sind in Ordnung.
Aber ich will nur diese Fehler loswerden ... wie werde ich sie loswerden? Löschen Sie meinen Cache?
Ich sah git gc
der empfohlene Befehl lokale Dateien zu reinigen, aber ich, dass nicht einmal laufen kann.
Counting objects: 7709, done.
fatal: Out of memory, malloc failed (tried to allocate 306851376 bytes)
error: failed to run repack
Ich habe auch versucht
git
Checking object directories: 100% (256/256), done.
Checking objects: 100% (2377/2377), done.
dangling commit 32c8482dcc118bd64c1f8e45ee093c286a840e5d
dangling commit abce13f3bfb8c3833c7b76f4aea9cd28caa3af03
dangling blob c9131033c721c0b90c86bf7b32377588354363ec
dangling commit de6d83d883d35f97cb211233e2283c9d79e6f922
dangling blob d535c98d611cca74af45633c77680bb2bdc5e55a
Schließlich laufen git pull
noch einmal fsck erhielt diese
Auto packing the repository for optimum performance. You may also
run "git gc" manually. See "git help gc" for more information.
Counting objects: 5384, done.
fatal: Out of memory, malloc failed (tried to allocate 306851376 bytes)
error: failed to run repack
Already up-to-date.
Alle Hinweise/Vorschläge werden sehr geschätzt werden !!
Wird git VM-System-RAM verwenden? – ihue
Ich habe schon 1 GB. '# dmidecode 2.12 SMBIOS 2.4 vorhanden. Griff 0x1000, DMI-Typ 16, 15 Byte Physical Memory Array \t Lage: Other \t Verwendung: Systemspeicher \t Fehlertyp Korrektur: Multi-Bit-ECC- \t Maximale Kapazität: 1 GB \t Fehler Handle Information: Nicht Bereitgestellt \t Anzahl der Geräte: 1' – ihue
Sind die memory_limit Einstellungen in 'php.ini' irgendwas? – ihue